Page 1 of 1

Changing ListItem RightIcon properties

PostPosted: 18 Feb 2015 12:49
by stuartcf
Easy to do at design time, not sure the correct way of doing it dynamically within the program. It's not as simple as RightIcon := jqmisNone;
No examples in demos. Can you help?

Thanks

Stuart.

Re: Changing ListItem RightIcon properties

PostPosted: 19 Feb 2015 12:14
by Alexander Bulei
Hi Stuart,

delphi code
uses
IWCGJQMConst;

...

procedure TIWAppForm6.IWAppFormCreate(Sender: TObject);
begin
IWCGJQMListView1.Items[2].RightIcon:= jqmisRefresh;
IWCGJQMListView1.Items[0].RightIcon:= jqmisNone;
end;


Or you need change the icon on event (e.g: onvclick) ?

Best Regards

Re: Changing ListItem RightIcon properties

PostPosted: 19 Feb 2015 16:54
by stuartcf
Thanks Alexander. Yes, I am changing the icons as the web page adapts to user input.

The missing piece of the jigsaw was the "Uses IWCGJQMConst", so everything works fine now.

Many Thanks.