FoxPro for Macintosh Interface Tips and TricksLast reviewed: May 29, 1996Article ID: Q118673 |
The information in this article applies to:
SUMMARYThis information is also available in FoxPro's online Help file. To go directly to this topic, choose the "Tips and Tricks" Help topic. Then do one of the following, depending on which online Help file is in use:
MORE INFORMATION
Available FontsTo find out if the font you want to use is available, use AFONT().
Monospaced and Proportional FontsThe TXTWIDTH() function is useful in determining whether a font is mono- or proportionally spaced. If TXTWIDTH('I') = TXTWIDTH('M'), then the font is monospaced.
Text EditorTo select an entire line of text (including the carriage return) when editing, triple-click on the line. To move or copy selected text, use "drag-and-drop". You can drag a copy of the text by holding down the CTRL key as you drag the selected text. When you use drag and drop, FoxPro places the dragged text on the clipboard. Anything on the clipboard when you use drag and drop is overwritten. To indent and unindent large sections of code or text, use Indent and Undent on the Text menu.
Customizing the Main FoxPro WindowYou can modify the main FoxPro window using the MODIFY WINDOW SCREEN command. This command allows you to set various attributes of the window including font, font size, font style, wallpaper, color, title, size and so on. Notice that you can issue multiple MODIFY WINDOW commands to adjust different characteristics of a window without changing characteristics that you've already set. To change the font of the main FoxPro window, hold down the Shift key and choose Screen Font... from the Text menu. You can also change the font with the MODIFY WINDOW SCREEN command. With the Screen Builder, you can create a DESKTOP window in the Window Style dialog. This option allows you to customize the main FoxPro window.
Closing Multiple WindowsTo close several windows at one time, hold down the Shift key and choose Close All from the File menu. You can temporarily hide all windows by simultaneously pressing SHIFT+CTRL+OPTION+COMMAND. On other FoxPro platforms, you can temporarily hide all windows by simultaneously pressing SHIFT+CTRL+ALT.
Command Window on TopTo always keep the Command window on top of the main FoxPro window, include the following lines in your CONFIG.FPM configuration file:
MACDESKTOP = OFF COMMAND = SET MACDESKTOP ON Hiding the Main FoxPro Window on StartupYou can start FoxPro for Macintosh with the main FoxPro window hidden by placing the following line in your CONFIG.FPM configuration file:
COMMAND = HIDE WINDOW SCREEN Password ProtectionIf your application requires a password, try using a font size that is too small to read or a password font in which all the characters are the same.
|
Additional reference words: FoxMac 2.50b 2.50c on-line cmd mono spaced
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |