Skip to content

pbShowCaption - cWebColumnButton

Determines whether the column should show psCaption in the header

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

{ WebProperty=Client }
Property Boolean pbShowCaption
Access Type Syntax
Read Access: WebGet pbShowCaption to BooleanVariable
Write Access: WebSet pbShowCaption to BooleanVariable/Value

Description

Determines whether the column should show psCaption in the header.

The context menu uses psCaption to create an entry. But sometimes, such as in the WebOrder sample, you would want nothing to show in the header, like with, for example, buttons. To separate this, you can hide the psCaption from the header without having a blank option in the context menu.

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.