Livecode Wiki
Edit Page

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Specifies whether an object can be seen or is hidden.Syntax:
+
Specifies whether an [[object(glossary)]] can be seen or is hidden.Syntax:
 
set the [effective] visible of <nowiki><object></nowiki> to {true | false}
 
set the [effective] visible of <nowiki><object></nowiki> to {true | false}
   
Line 9: Line 9:
 
put the effective visible of button "save"
 
put the effective visible of button "save"
   
Use the [[visible]] property to determine whether an object
+
Use the [[visible]] [[property]] to determine whether an [[object(glossary)]]
is hidden or not, or to hide or show an object.
+
is hidden or not, or to hide or show an [[object(glossary)]].
   
 
A hidden object is still present and still takes up memory, and a
 
A hidden object is still present and still takes up memory, and a
Line 19: Line 19:
 
still visible, in the sense that its [[visible]] property is still true.
 
still visible, in the sense that its [[visible]] property is still true.
   
The [[visible]] property of grouped controls is
+
The [[visible]] [[property]] of [[grouped control|grouped controls]] is
independent of the [[visible]] property of the group. Setting
+
independent of the [[visible]] [[property]] of the [[group(command)]]. Setting
a group's [[visible]] property to false doesn't change
+
a [[group(glossary)|group's]] [[visible]] [[property]] to false doesn't change
the [[visible]] property of its controls; their [[visible]]
+
the [[visible]] [[property]] of its [[control|controls]]; their [[visible]]
[[property]] is still true, even though the controls cannot be
+
[[property]] is still true, even though the [[control|controls]] cannot be
seen because the group is invisible.
+
seen because the [[group(command)]] is invisible.
   
 
If you specify the effective keyword the visible property of a control
 
If you specify the effective keyword the visible property of a control
Line 30: Line 30:
 
visible.
 
visible.
   
You can set the [[visible]] property of a card, but doing so
+
You can set the [[visible]] [[property]] of a [[card(keyword)]], but doing so
has no effect. Cards cannot be made invisible.
+
has no effect. [[card(object)|Cards]] cannot be made invisible.
   
The [[visible]] property is the logical inverse of the [[invisible]]
+
The [[visible]] [[property]] is the logical inverse of the [[invisible]]
property. When an object's [[visible]] is true, its [[invisible]]
+
[[property]]. When an [[object|object's]] [[visible]] is true, its [[invisible]]
 
is false, and vice versa.
 
is false, and vice versa.
   
See also: [[card]] (object), [[control]] (object), [[showInvisibles]] (property), [[invisible]] (property),
+
See also: [[card]] (object),[[control]] (object),[[showInvisibles]] (property),[[invisible]] (property),
 
[[Category: ui]]
 
[[Category: ui]]
 
[[Category:GUI]]
 
[[Category:GUI]]

Please note that all contributions to the Livecode Wiki are considered to be released under the CC-BY-SA

Cancel Editing help (opens in new window)