This is weird.
I have a TValueListEditor and Event OnSelection setup.
Here is the onEvent function:
procedure TForm1.AppTableSelection(Sender: TObject; aCol, aRow: Integer);
begin
WriteLn(IntTostr(aRow));
WriteLn(appsArray[aRow]);
end;
Work ok, when I select a row on the ValueListEditor, I get the row index and the value of that array at that index. But when I input a TLabel with name appLabel, and I add the code to set the text,
appLabel.Caption := 'test';
in the event method above, it immediately crash when run.
ERROR:
Project *** raises exception class External SIGSEGV
In file control.inc
Any idea why?