Condividi tramite


SET CLOCK Command

Determines whether Visual FoxPro displays the system clock and specifies the clock location on the main Visual FoxPro window.

SET CLOCK ON | OFF | STATUS
-or-
SET CLOCK TO [nRow, nColumn]

Parameters

  • ON
    Displays the clock in the upper-right corner of the main Visual FoxPro window.

  • OFF
    (Default) Removes the clock from the status bar or from the main Visual FoxPro window.

  • STATUS
    Displays the clock in the graphical status bar. Issue SET STATUS BAR ON to display the graphical status bar.

  • TO [ nRow, nColumn]
    Using row and column coordinates, specifies where the clock is displayed in the main Visual FoxPro window. Use SET CLOCK TO without the coordinates to display the clock in its default position in the upper-right corner of the main Visual FoxPro window.

    If you place the clock in the graphical status bar with SET CLOCK STATUS and you specify a location in the main Visual FoxPro window with TO nRow, nColumn, Visual FoxPro removes the clock from the graphical status bar and places it at the location you specify.

See Also

Reference

SET BRSTATUS Command

SET HOURS Command

SET STATUS Command

SET Command Overview

Other Resources

Commands (Visual FoxPro)