Page 1 of 1

Determine Selected TIWCGJQSelectableList

PostPosted: 22 Feb 2017 03:08
by MCarver
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

Re: Determine Selected TIWCGJQSelectableList

PostPosted: 23 Feb 2017 16:19
by Alexander Bulei
Hi MCarver,

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

Thank you.

Best Regards.