|
WebGet pbShowCaption to IntegerVariable |
WebSet pbShowCaption to IntegerVariable/Value |
Get pbShowCaption to IntegerVariable |
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.