Condividi tramite


Clock Foundation Class

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

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

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

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Classes