Hide Method
From Lianjapedia
Makes the object invisible.
ob.hide
Example
// // Lianja custom section for page "page1" section "section1" // namespace custom1 public textbox1, textbox2 define class page1_section1 as section enddefine define class showhide_button as CommandButton proc click &(iif(textbox1.visible,"textbox1.hide","textbox1.show")) &(iif(textbox2.visible,"textbox2.hide","textbox2.show")) endproc enddefine proc page1_section1 page1_section1 = createobject("page1_section1") page1_section1.addobject("showhidebutton","showhide_button") showhidebutton.caption = "Show/Hide Toggle" page1_section1.addobject("textbox1", "Textbox") textbox1.value = "Textbox 1" textbox1.backcolor = "orange" page1_section1.addobject("textbox2", "Textbox") textbox2.value = "Textbox 2" textbox2.backcolor = "gray" textbox2.visible = False return page1_section1