2009-09-30 02:04 UTC
I am having trouble writing the code for the following situation.
I have a checkbox that is enabled and a textbox that is disabled and I want the dialog to function as follows:
If the checkbox is selected then I want to enable to textbox for input (this I have accomplished)
(defun c:ITEXT_Form1_Node_CheckBox_OnClicked (nValue /)
(dcl_Control_SetEnabled ITEXT_Form1_Node_TextBox T)
)
If the checkbox is unselected I want to redisable the textbox. This is where I am stuck.
Any help would be appreciated. Thank you.
I have a checkbox that is enabled and a textbox that is disabled and I want the dialog to function as follows:
If the checkbox is selected then I want to enable to textbox for input (this I have accomplished)
(defun c:ITEXT_Form1_Node_CheckBox_OnClicked (nValue /)
(dcl_Control_SetEnabled ITEXT_Form1_Node_TextBox T)
)
If the checkbox is unselected I want to redisable the textbox. This is where I am stuck.
Any help would be appreciated. Thank you.