JavaScript Editor js editor     Web development 



Main Page

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: 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



JavaScript Editor js editor     Web development