2012-01-30 07:41 UTC
hi,
I'm new in OpenDCL and I love it from the first place, I'm doing the tutorials but there is something I can't figure it out by myself. in Page 8 of tutorials for the level 1 when you have:
(defun c:HelloWorld_Form1_TextButton1_OnClicked (/)
(setq sText (dcl_Control_GetText HelloWorld_Form1_TextBox1))
(dcl_messagebox (strcat "You Typed: " sText))
(dcl_Form_Close HelloWorld_Form1)
)
if you click on the text button it works fine, but if you fill in the text box and click enter on keyboard the form just closes without any messagebox. What am I missing?
I'm new in OpenDCL and I love it from the first place, I'm doing the tutorials but there is something I can't figure it out by myself. in Page 8 of tutorials for the level 1 when you have:
(defun c:HelloWorld_Form1_TextButton1_OnClicked (/)
(setq sText (dcl_Control_GetText HelloWorld_Form1_TextBox1))
(dcl_messagebox (strcat "You Typed: " sText))
(dcl_Form_Close HelloWorld_Form1)
)
if you click on the text button it works fine, but if you fill in the text box and click enter on keyboard the form just closes without any messagebox. What am I missing?