Timing Object
\The Sandbox \PB History & Future \New In PB6 \Ease of Use & PowerScript \Timing Object
Nonmodal
Browser
Browser Menus
Browser Help
Last Compiled
Time Stamp
Modernized
Toolbar
Support for
IntelliMouse
App Object
Modification
Timing Object
Updating
Control Arrays
AncestorReturn-
Value
Class Definition
Information

Description

The Timing object is a nonvisual object type that provides a Timer event that is not associated with a window.

Purpose

You can use a Timing object in any application where you want to use a Timer event without associating it with a window. For example, you may want to use a Timing object in a distributed PowerBuilder server that uses a shared object to access a database at regularly timed intervals.

Usage

Create a new standard class user object that inherits from the Timing object and write application-specific code in the user object's Timer event. Then create an instance of the user object. To activate the timer, call the Start function specifying the number of seconds you want between Timer events. The Timer event is executed as soon as possible after the interval has passed.

Functions

Two functions have been added to start and stop a Timing object:

Start        Stop

Events

The Timer event is now available for Timing objects:

For more information

Ñ  For more information and examples, see Timing object, Start, Stop, and Timer.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com