Adobe 65007312 Programming Guide - Page 91
General view properties, When true in a container, the container is visible,
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 91 highlights
CHAPTER 5: Creating a User Interface for Your Plug-in User interface elements 91 General view properties Of the properties that are available in both containers and controls, many are connected with layout behavior; these are discussed separately in "Determining layout" on page 107. The following view properties are available in all containers and controls except the layout containers, row and column: View property bind_to_object -or- object tooltip visible Datatype Description table The default bound property table for this object and its children. The default can be overridden at any level of the node hierarchy, or for individual property bindings. See "Binding UI values to data values" on page 94. In views created with sectionsForTopOfDialog and sectionsForBottomOfDialog, this is set automatically to the property table passed along with the view factory. This creates a binding between all nodes in the view and the settings table, so that any node can observe any setting. string A help string that appears when the cursor hovers over a container or control. Default nil. Boolean Determines whether a container or control is shown or hidden. This is not the same as being enabled or disabled; the disabled state is only applied when a control is visible. Default is true. X When true in a container, the container is visible, and its children are visible according to their individual visibility values. X When false in a container, the container and all of its child nodes are hidden, regardless of the value in each child node. X When true in a control, the control is visible if its parent is visible. When false, it is hidden even if its parent is visible. Value must be true or false; do not use nil. TIP: An item still affects layout, even when it is hidden.