Page 1 of 1

Items displayname

PostPosted: 22 Oct 2015 10:16
by assapan
Hi,
In most of the case in Listview , ListViewItem header only is filled and text is optionnal so display name is Uniquename of component , this is not really programmer friendly
Image

so i modified source
Code: Select all
function TIWCGJQMListItem.GetDisplayName: string;
begin
  Result:=Header;
  if Result='' then
    Result:= Text;
  if Result = '' then
    Result:= inherited GetDisplayName;
end;


i found it more programmer friendly :roll:

Image


Please consider this modification :mrgreen:

Re: Items displayname

PostPosted: 22 Oct 2015 17:31
by Alexander Bulei
Hi assapan,

Ok, thanks.