The code in this event is not working correctly - for me.
- Code: Select all
procedure TiwcgjqfrmMedScriptTheraputic.JQDynaTreeJQDynaTreeOptionsSelect(Sender: TObject; AParams: TStringList);
begin
iwcgjqmx2.Lines.Text := JQDynaTree.SelectedNodes[0];
end;
First time the event is triggered I receive a list index out of bounds.
Every time after the first trigger a value is returned but is the value for the item that was previously selected not the value for the new/currently selected item.
Advice please.