Started by Vaidas ·
2009-12-22 06:54 UTC ·
4 replies · SMF topic #1099
Vaidas
2009-12-22 06:54 UTC
Hello,
Just testing. The same problem as at
{2}
but I can't replay to this topic, so starting new one.
Error:
variable argument passed to dcl_Control_SetText was NIL
Lisp passes text to TitleBar, but not to TextBox. The same for several different cases I checked.
Thanks
fred_tomke
2009-12-22 07:03 UTC
Hi, Vaidas, check the name of your cancel event: I read "c:Kitox-Toolset-dcl_FormEmail_TextButtonCancel_OnClicked" in the odcl file and "c:Test-091221_Form1_TextButtonCancel_OnClicked" in the lisp. That must match to make it work.
Fred
Kerry Brown
2009-12-22 07:09 UTC
The reason the Textbox is not getting the value of the test-text variable is because the Form EVENT OnInitialize is not turned on in the Events Pane.
added : refer attached
Kerry Brown
2009-12-22 07:17 UTC
Vaidas ,
That is an excelent way to test the actions and properties of controls !!
Start small with simple tests till you understand what is happening.
Good sample of the error.
Vaidas
2009-12-22 07:23 UTC
Thanks for all, it works now.
Error was on Initialize checkbox. I started from bigger for and after changed it to smaller, but not changed function on Events.