CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Determine Selected TIWCGJQSelectableList

by MCarver » 22 Feb 2017 03:08

CG Gurus,

Please advise how to determine which item has been selected in TIWCGJQSelectableList

I am calling the following function in the JQSelectableListOption.OnSelected event
Code: Select all
  function fxGetSelected: string;
  var
    i : integer;
  begin
    for i := 0 to listFilter.Items.Count - 1 do
    begin
      if listFilter.Items[i].Selected then
      begin
        Result := listFilter.Items[i].Caption;
        Exit;
      end;
    end;
  end;


But, "Selected" never is true. Please advise

Regards
Monte Carver
MCarver
 
Posts: 48
Joined: 27 Sep 2013 19:15

by Alexander Bulei » 23 Feb 2017 16:19

Hi MCarver,

There is some issue with order of trigger events...
We will fix it for next beta build.

Thank you.

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


Return to JQSortableList

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.