Difference between revisions of "Visible Property"
From Lianjapedia
Yvonne.milne (Talk | contribs) (Created page with '__NOTOC__ Whether the object is visible. Read/write. <pre> bVisible = ob.visible ob.visible = bVisible </pre> ===bVisible=== Boolean signifying whether the object is visible o…') |
|||
Line 53: | Line 53: | ||
return page1_section1 | return page1_section1 | ||
</code> | </code> | ||
+ | |||
+ | [[Category:Properties]] | ||
+ | [[Category:Common Properties]] |
Revision as of 06:27, 26 September 2011
Whether the object is visible. Read/write.
bVisible = ob.visible ob.visible = bVisible
bVisible
Boolean signifying whether the object is visible or not:
True | False |
---|---|
True | False |
.T. | .F. |
1 | 0 |
Example
// // Lianja custom section for page "page1" section "section1" // namespace custom1 public textbox1, textbox2 define class page1_section1 as section enddefine define class visible_button as CommandButton proc click textbox1.visible = not textbox1.visible textbox2.visible = not textbox2.visible endproc enddefine proc page1_section1 page1_section1 = createobject("page1_section1") page1_section1.addobject("visiblebutton","visible_button") visiblebutton.caption = "Visibility Toggle" page1_section1.addobject("textbox1", "Textbox") textbox1.value = "Textbox 1" page1_section1.addobject("textbox2", "Textbox") textbox2.value = "Textbox 2" textbox2.visible = False return page1_section1