CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Changing ListItem RightIcon properties

by stuartcf » 18 Feb 2015 12:49

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.
stuartcf
 
Posts: 6
Joined: 28 Dec 2014 12:16

by Alexander Bulei » 19 Feb 2015 12:14

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
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by stuartcf » 19 Feb 2015 16:54

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.
stuartcf
 
Posts: 6
Joined: 28 Dec 2014 12:16


Return to JQMListView

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.