How to Add a Clock Display to a FormID: Q140290 3.00 WINDOWS kbui kbhowto The information in this article applies to:
SUMMARYIn Visual FoxPro, there are two locations to place a clock display. The first is in the upper-right corner of the Visual FoxPro desktop. This is done by using the SET CLOCK ON command. The second is on the status bar at the bottom of the Visual FoxPro window. This is done by using the SET CLOCK STATUS ON command. This article shows by example how to place a clock display on a form by using a text box and a timer control.
MORE INFORMATION
Steps to Place a Clock Display on a Form1. Create a new form. 2. Add a timer control to the form. 3. Add a text box to the form. 4. Set the following properties and events for the timer control:
5. Set the following properties, events, and methods for the text box:
6. Run the form, and note that the clock is updated every second.
Additional reference words: 3.00 VFoxWin KBCategory: kbui kbhowto KBSubcategory: FxotherGeneral
|
Last Reviewed: November 30, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |