pbVisible - cWebBaseUIObject

Determines whether the control's elements are visible or hidden

Type: Property (Web Property)

Access: Read/Write

Data Type: Boolean

Parameters: None

Syntax
 { WebProperty=ClientProtected }
 Property Boolean pbVisible

Web Property Read Access: WebGet pbVisible to BooleanVariable
Web Property Write Access: WebSet pbVisible to BooleanVariable/Value

Read Access: Get pbVisible to BooleanVariable
Write Access: Set pbVisible to BooleanVariable/Value


Description

The pbVisible property controls the user access and visibility of a web control.

If pbVisible is set to False, then the user cannot give focus to the control, cannot edit any of the control's data and cannot see the control or its label. However, the space that the control occupies in the flow-layout is still occupied (but empty).

You should set pbVisible to False when you want to make a control invisible but you do not want to affect the layout of other sibling controls.

The other properties that can be used to manage the visibility of a Web Control are pbEnabled and pbRender.

pbNoAccessibilityCheck controls whether the framework looks at pbRender, pbVisible and pbEnabled of itself or its parents to determine if the control is accessible.

pbNoFillIfHidden determines whether data is passed between the server to this data entry object (DEO) when it's not displayed.


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.