dcl_Control_SetText passed NIL

Started by Vaidas · 2009-12-22 06:54 UTC · 4 replies · SMF topic #1099

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
Attachments
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
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
Attachments

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.
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.