pbRender - cWebBaseUIObject

Determines whether the control's elements are present in HTML

Type: Property (Web Property)

Access: Read/Write

Data Type: Boolean

Parameters: None

Syntax
 { WebProperty=ClientProtected }
 Property Boolean pbRender

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

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


Description

The pbRender property controls the user access, the visibility and the web control's space in the flow-layout.

If pbRender is set to False, then the user cannot give focus to the control, cannot edit any of the control's data cannot see the control and the space that the control would occupy in the flow-layout is relinquished to its sibling controls.

You should set pbRender to False when you want to completely remove a control from the user interface and allow its space to be occupied. cWebMenuItem is one case where you would want to set pbRender to False instead of using pbVisible. This would hide the menu item without leaving a `gap'.

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

pbHidden indicates whether a cWebList column is currently hidden or not, but pbRender overrides pbHidden.

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.