Stop Watch Foundation Class
Category | Date/Time |
---|---|
Default Catalog | Visual FoxPro Catalog\Foundation Classes\Date/Time |
Class | _stopwatch |
Base Class | Container |
Class Library | _datetime.vcx |
Parent Class | _container |
Sample | ...\Samples\Solution\Controls\Timer\swatch.scx |
Remarks
This class, when placed on a form, provides a stop watch control.
To use, drop the class on a project or form or, from the Component Gallery Item Shortcut Menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the icon on the form where it will run on the active form. When you drop the class on a project, you can choose between adding the class or creating a subclass.
Properties, Events, Methods | Description |
---|---|
Increment method | Increments the stopwatch display. Syntax: Increment( ) Return: none Arguments: none |
Reset method | Resets the stopwatch. Syntax: Reset( ) Return: none Arguments: none |
Start method | Starts the stopwatch. Syntax: Start( ) Return: none Arguments: none |
Stop method | Stops the stopwatch. Syntax: Stop( ) Return: none Arguments: none |
UpdateDisplay method | Refreshes the display. Syntax: UpdateDisplay( ) Return: none Arguments: none |
See Also
Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Class Samples