Skip to content

pbWaitForCall - cWebTimer

Determines whether the timer is restarted after each timer event

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

Syntax

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

Description

Set pbWaitForCall to True to ensure the timer is restarted after each timer event. Set to False to configure the timer to fire only one event, then stop.

Timer objects are usually placed within a cWebView or cWebModalDialog. By default, when a timer is placed within a view or dialog, it will only fire if that view is the currently active view. See Starting and Stopping Timers in cWebTimer.

Starting and Stopping Timers

Set pbAutoStart to True to ensure that the timer starts automatically when the host view is shown. When used outside of a view, it starts on initialization. This property is True by default.

Set pbAutoStop to True to ensure that the timer stops automatically when a view is hidden. This property is True by default.

Send Start to programmatically start the timer.

Send Stop to programmatically stop the timer.

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.