VFP Tutorial - Development Environment
FoxPro is unusual amongst Microsoft development tools in that it retains a command-line interface. It has a toolbar with all the familiar buttons that you would expect but you are also faced with a command window where you can enter FoxPro commands.
The screenshot shows part of the Visual FoxPro environment with a few lines of Fox commands in the Command Window. The window is shown docked against the left-hand side of the screen and in real life would be wider with a smaller font size in order to show more of each command.
The keywords of the language appear upper case in blue because this is the default setting of FoxPro's Intellisense feature. As soon as Fox recognises the word that you are typing it displays that word in blue. If you pressor then Fox will complete the word for you and display a list of parameters and options that can follow that command. Unlike other Microsoft languages, the Visual FoxPro IntelliSense is open and documented - it is actually a lookup into a FoxPro table - and you can add your own entries to the list.
Using the Command Window
When you first start to learn Visual FoxPro you might be tempted to close the Command Window and drive FoxPro in the same point-and-click style as you do Access. This is possible but it is a slow and restricted way of working. Just to take a simple example, you can create a new program file (code module) by selecting mc in the Command Window and hit .from the menu and specifying that you want a new file of type Code. It is so very much quicker though to type
Advanced features of Visual FoxPro
The Visual FoxPro Command Window is very flexible. You can leave the main route through the tutorial and go to this page to learn about some of the advanced features of the development environment.
Hints & tips
The textbox class in Visual FoxPro 9 has a new Autocomplete
property which shows the user the previous values that have
been entered in that textbox.