pbShowCaption - cWebWindow

Determines if the web object should show its psCaption value (only changed in cWebView)

Type: Property (Web Property)

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 { WebProperty=Client }
 Property Integer pbShowCaption

Web Property Read Access: WebGet pbShowCaption to IntegerVariable
Web Property Write Access: WebSet pbShowCaption to IntegerVariable/Value

Read Access: Get pbShowCaption to IntegerVariable
Write Access: Set pbShowCaption to IntegerVariable/Value


Description

pbShowCaption determines if an object should show its caption value, psCaption. With all classes other than cWebView, this property should not be changed - it is set to the correct value for that class.

The property may be Set or WebSet in a cWebView.

In the cWebView class, the pbShowCaption default is True, which means that a caption header will appear in your view. With desktop style web views (peWebViewStyle=wvsDesktop) this is probably the setting you want.

With mobile style views (peWebViewStyle=wvsDrilldown), you may wish to set this to False, as it takes up one extra line in your already limited space. For this reason, all mobile style templates and wizards sets this property to False.

With mobile style views you can use the SetHeaderCaption and SetBreadCrumbCaption to customize how captions appear.


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.