Posted: Thu Apr 11, 2013 8:41 am Post subject: Cannot set 'OnSelectionChange' function
Hey,
I'm working on a bit hard project for myself.
Importing hacks from server,
Right now I'm working on a ListBox.
I want it to display a different hacks descriptions on selection change.
But this:
Code:
control_OnSelectionChange(List,OnSelectionChange)
Which returns this error:
Code:
Error:[string "-- The import trainer file..."]:69: attempt to call global 'control_OnSelectionChange' (a nil value)
Is the code wrong?
if not, can you add it?
I need it, lots of work to do...
P.S
I got the name via form designer I saw the action name and tried. _________________
I'm rusty and getting older, help me re-learn lua.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum