Property Boolean Visible_State
Read Access: | Get Visible_State to BooleanVariable |
Write Access: | Set Visible_State to BooleanVariable/Value |
The Visible_State property is set true by default. To cause an object to not be displayed, or to disappear, but still be in the focus tree, set this property to false. If the object is currently in the focus list when this property is set, the change will immediately be reflected on the screen. It is not recommended that an object that may become the focus be set invisible, since the end user will not know where they are.
set Visible_State to True
It is advisable to set the Skip_State or the Enabled_State for objects when setting visible_state to false dynamically, to avoid the focus from going to an invisible object. When doing so, set skip_state to true or enabled_state to false.
Many visible classes have a separate object of the TextBox class that displays the object's label, the handle to which can be obtained via Label_Object. If you dynamically toggle the visible_state of such an object, the Visible_State of the object's Label_Object is also toggled.