Environment (Visual FoxPro)
These commands and functions make it possible for you to manage a wide range of Microsoft Visual FoxPro system and environment parameters.
Use |
To |
---|---|
Place information about files into an array and then return the number of files. |
|
Return an array containing the names of functions loaded by DECLARE DLLs. |
|
Return an array containing the names of all valid Visual FoxPro commands, functions, or base classes. |
|
Create an array containing Visual FoxPro language elements contained in a program file. |
|
Create an array of existing data session IDs. |
|
Create an array and populate it with information about the current state of the call stack. |
|
Specify the name of the class browser application. |
|
Specify the name of the Visual FoxPro builder application. |
|
Return the current mode of the CAPS LOCK key or sets the CAPS LOCK key mode on or off. |
|
Create a color set from the current color settings. |
|
Create a view file from the Visual FoxPro environment. |
|
Specify the horizontal (X) and vertical (Y) coordinates for the next drawing method. Not available at design time; read/write at run time. |
|
Register a function in an external shared library. |
|
Display information about the files in a directory. |
|
Return the number of bytes available on the default or specified disk drive or volume. |
|
Display information about shared library functions registered in Visual FoxPro with DECLARE – DLL. |
|
Display the status of the Visual FoxPro environment. |
|
Return the name of the function key (F1, F2, F3 ...) from the key's corresponding function key number. |
|
Return the number of programmable function keys or function key combinations on your keyboard. |
|
Return font attributes for the current installed operating system fonts. |
|
Specify the program that is executed when you choose Component Gallery from the Tools menu. |
|
Specify an HTML (Hypertext Markup Language) generation program. |
|
Display the Windows Color dialog box and return the color number of the chosen color. |
|
Prompt for a code page by displaying the Code Page dialog box, and then return the number of the code page chosen. |
|
Return the contents of the specified MS-DOS environment variable. |
|
Specify the program that is executed when you issue the GETEXPR command or invoke the Expression Builder dialog box from within Visual FoxPro. |
|
Display the Open dialog box and return the name of the file you chose. |
|
Display the Font dialog box and return information about the font you choose. |
|
Return the current value for a property or program code for an event or method at design time. |
|
Return the names of the Visual FoxPro and Visual Studio directories. |
|
Open the Help window. |
|
Turn the IME (Input Method Editor) window on or off or returns the current IME status. |
|
Specify a default header file included with user-defined classes, forms, or form sets. |
|
Return a number corresponding to the first mouse click or key press in the type-ahead buffer. |
|
Return the current insert mode, or sets the insert mode on or off. |
|
Determine whether a computer can display color. |
|
Return true (.T.) if mouse hardware is present. |
|
Continuously display information about shared library functions registered in Visual FoxPro with DECLARE - DLL. |
|
Display table or environment information without pausing the main Visual FoxPro or user-defined window. There are multiple versions of the syntax. |
|
Locate a file on disk and return the file name with its path. |
|
Return the amount of memory available to run an external program. |
|
Return either the current error message as a character string or the contents of the program line that caused the error. |
|
Return the current mode of the NUM LOCK key or set the mode of the NUM LOCK key on or off. |
|
Contain the name of the object browser application. |
|
Return a position or dimension of a control or object relative to its form. |
|
Return the name and version number of the operating system under which Visual FoxPro is running. |
|
Return the current column position of the printer's print head. |
|
Retrieve an attribute for a property, event, method, or object. |
|
Return the current row number of the printer's print head. |
|
Invoke the Save As dialog box and return the file name you specify. |
|
End the current Visual FoxPro session and return control to the operating system. |
|
Return a single color value from a set of red, green, and blue color components. |
|
Return a color pair list or a single color pair from a specified color scheme. |
|
Specify properties and methods for the main Visual FoxPro window. |
|
Return the status of various SET commands. |
|
Open the Data Session window. The Data Session window provides an easy way to open tables, establish relations, or set or change many Visual FoxPro options. |
|
Return a legal file name that can be used to create temporary files. |
|
Return the current Visual FoxPro default drive. |
|
Return the current Visual FoxPro default drive. |
|
Return the name of the current format file. |
|
Return your Visual FoxPro serial number. |
|
Return the amount of memory below 640K that is available to execute an external program. |
|
Return the file name of the program being executed. You can use SYS(16) to recover from errors. |
|
Return the central processing unit (CPU) being used. |
|
Return the total amount of memory available to the Visual FoxPro memory manager. |
|
Return amount of memory being used by objects you define. |
|
Enable the Help diagnostic mode, making it possible for you to trap the HelpContextID passed to the Visual FoxPro Help system. |
|
Disable the Help diagnostic mode enabled by issuing SYS(1023). |
|
Return a value that indicates whether a property setting has changed from its default setting or whether the property is read-only. |
|
Return a reference for an object at the specified point. |
|
Return the name of the .SCX file in which the specified instantiated object is stored. |
|
Return the object hierarchy for a specified object. Not available at design time. |
|
Return the status of the specified SET commands. |
|
Return the name of the current directory on the default drive. |
|
Return the name of the directory from which Visual FoxPro was started. |
|
Return the name of the current Visual FoxPro resource file. |
|
Return the type of graphics card and monitor you are using. |
|
Return the files setting in CONFIG.SYS. |
|
Return a space-delimited character string containing the internal names of the Visual FoxPro menu system. |
|
Return the name and location of the Visual FoxPro configuration file. |
|
Return the free space in bytes on the default disk. |
|
Return the cluster size in bytes of a specified disk. |
|
Return the path in which Visual FoxPro stores its temporary files. |
|
Return a value indicating how a Visual FoxPro automation server method was invoked. |
|
Disable or enable Microsoft Active Accessibility support and set certain options to track the keyboard focus of the currently selected control in a Visual FoxPro form. |
|
Return the Locale ID used by automation and ActiveX controls. |
|
Set the Locale ID used by automation and ActiveX controls. |
|
Set the Language ID and the Locale ID. |
|
Set the foreground or background buffer memory size. |
|
Return the ODBC environment handle. |
|
Read Visual FoxPro registry settings and update with the current registry settings. |
|
Return an outgoing IDispatch pointer for a COM object. |
|
Return the size of the operating system's screen elements. |
|
Contains the name of the task list manager program. |
|
Return the length of a character expression with respect to the average character width for a font. |
|
Return information about the Visual FoxPro version you are using. |
|
Return the name, size, or style of the current font for a window in Visual FoxPro for Windows. |
|
Contain the name of the Visual FoxPro wizard application. |