Share via


Clock Foundation Class

This class is a simple clock control for a form or container.

Category

Date/Time

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Date/Time

Class

_clock

Base Class

Container

Class Library

_datetime.vcx

Parent Class

_container

Sample

...\Samples\Solution\Controls\Timer\clock.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 object in your form where you can specify the appropriate nTimeFormat value. When you drop the class on a project, you can choose between adding the class or creating a subclass.

Properties, Events, Methods

Description

nTimeFormat property

Toggles between short (for 0) and long (for non-zero values) formats as specified in the Control Panel.

Default : 0

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples