This class, when placed on a form, provides a stop watch control.
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
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:
Return: none Arguments: none |
Reset method |
Resets the stopwatch.
Syntax:
Return: none Arguments: none |
Start method |
Starts the stopwatch.
Syntax:
Return: none Arguments: none |
Stop method |
Stops the stopwatch.
Syntax:
Return: none Arguments: none |
UpdateDisplay method |
Refreshes the display.
Syntax:
Return: none Arguments: none |