Visual Foxpro - An Introduction
Visual Foxpro - An Introduction
Visual Foxpro - An Introduction
INTRODUCTION
The Visual FoxPro window will appear on your screen as shown in the
above fig. 3.
Using The Visual Foxpro Menus
The Visual FoxPro Menu system can be classified into the following
components as:
1) Menu Bar
2) Menu Pad (Item)
3) Menus (Pull Down Menu)
4) Menu Options
5) Toolbar
To choose a desired menu option you want, use one of the following
methods:
Move to the menu pad and click. The pull-down menu appears. Click on the
desired option you want. Press <Alt> key or <F10> key and then press the
underlined letter (hot key) in the menu pad name. Type the underlined key
for the menu option you want.
Use the Left and Right Arrow keys to the menu pad you want to use and
then press <Return> key. Use the Up and Down arrow keys to select the
desired option and then press the <Return> key or <Spacebar> key.
You will find that some of the menu options have an ellipsis (…) after the
option. This indicates that the option will further open a dialog box. A dialog
box appears to request the additional information.
Toolbar
The Toolbar appears below the menu bar and displays the icons as shown in
Fig. 5. To access the toolbar using the mouse, click on the icon you want to
use.
VISUAL FOXPRO TEXT EDITOR
Modify Command is the standard Text Editor of the Visual FoxPro. In short
it is also called modi comm. It allows you to create and modify text. Using
this text editor you can code or modify a Visual FoxPro program. The
following keys can be used for selecting and editing text.
Key(s) Action
Cursor Movement
Right Arrow To move the cursor one character to the right.
Left Arrow To move the cursor one character to the left.
Selecting Text
Shift+Right Arrow To select one character to the right of the cursor.
Shift+Left Arrow To select one character to the left of the cursor.
Shift+Up Arrow To select one line up to the cursor.
Shift+Down Arrow To select one line down to the cursor.
Ctrl+A To select all text.
Deleting Text
Backspace To delete the selected text or the character to the left of the cursor
if no text is selected.
Del To delete the selected text or the character to the right of the cursor if no
text is selected.
Inserting Text
Ins To switch between insert and overwrite mode.
Visual FoxPro provides various shortcut Keys to choose the menu options.
Some of them are listed below.
Key(s) Action
Ctrl+A To select all the current objects.
Ctrl+C To copy the current selection to the clipboard.
Ctrl+D To start a Visual FoxPro Program
Ctrl+G To move the cursor to the designated line in a text or in the
command window.
Ctrl+M To resume a program.
Ctrl+P To Print.
Ctrl+R To redo.
Ctrl+S To save the file.
Ctrl+V To paste the content of the clipboard at the current cursor position.
Ctrl+W To leave the current operation and to save any modification.
Ctrl+X To cut the selected object from its current location and to place it on
the clipboard.
Ctrl+Y To append new record.
Ctrl+Z To undo.
Ctrl+F1 To activate the next window open within Visual FoxPro.
Ctrl+F2 To display the command window.
Ctrl+F4 To close the current window.
Ctrl+F5 To restore the current window to its original size.
Ctrl+F7 To move the current window with the arrow key.
Ctrl+F8 To increase/decrease the size of the current window.
Ctrl+F9 To minimize the current window to an icon.
Ctrl+F10 To maximize the current window.
Esc To exit current editing without saving the modification.
F1 To activate on-line help.
F2 To open the view window.
F3 To list the content of the current table.
F4 To list the files in the current directory.
F5 To display the structure of the current table.
F6 To display the status.
F7 To display the current memory variables.
F8 To display the field names and the current record of the current table.
F9 To open the Browse window in append mode.
EXITING VISUAL FOXPRO
You can exit Visual FoxPro by using any one of the following methods: