共用方式為


SET DISPLAY Command

Enables you to change the current display mode on monitors that support different modes.

SET DISPLAY TO CGA | EGA25 | EGA43 | VGA25 | VGA50

Parameters

  • CGA
    Switches the font size for the main Visual FoxPro window to 9-point.
  • EGA25
    Switches the font size for the main Visual FoxPro window to 9-point and the main Visual FoxPro window size to 25 lines.
  • EGA43
    Switches the font size for the main Visual FoxPro window to 7-point and the main Visual FoxPro window size to 50 lines.
  • VGA25
    Switches the font size for the main Visual FoxPro window to 9-point and the main Visual FoxPro window size to 25 lines.
  • VGA50
    Switches the Visual FoxPro window to a size of 50 lines with a 7-point font size.

Remarks

SET DISPLAY changes the font size for the main Visual FoxPro window. The size of the main Visual FoxPro window is increased if necessary to accommodate the number of lines required by the option you specify. If the graphical status bar appears when you issue SET DISPLAY, it is turned off.

Visual FoxPro generates an error message if an option isn't supported by your video hardware.

The SET MESSAGE line is reset to the last line of the main Visual FoxPro window whenever SET DISPLAY is issued.

See Also

SET MESSAGE | SYS(2006) – Current Graphics Card | DISPLAY Command