Question
Is it possible hide some controls and show other controls at run time?
Answer
Hiding and disabling controls is readily available. The following example hides a TextBox named TextBox1 and show a button named HiddenButton that is presumed currently hidden.
(defun c:DclForm1_Button_Clicked () ; hide the text box (Odcl_Control_SetProperty TestProject_DclForm1_TextBox1 "Visible" 0) ; show the hidden button (Odcl_Control_SetProperty TestProject_DclForm1_HiddenButton "Visible" T) )
Knowledge Base
FAQ