Windows Commands and Functions

These commands and functions make it possible for you to create, display, and activate user-defined windows.

Use To

ACTIVATE WINDOW Command

Display and activate one or more user-defined windows or Visual FoxPro system windows.

BorderStyle Property

Specify the border style of an object.

CLEAR Commands

Release the specified item or items from memory. 

CREATE FORM Command

Open the Form Designer.

DEACTIVATE WINDOW Command

Deactivate user-defined windows or Visual FoxPro system windows and remove them from the screen, but not from memory. 

DEFINE WINDOW Command

Create a window and specify its attributes. 

HIDE WINDOW Command

Hide an active user-defined window or Microsoft Visual FoxPro system window. 

MODIFY FORM Command

Open the Form Designer so you can modify or create a form. 

MODIFY WINDOW Command

Modifie a user-defined window or the main Visual FoxPro window. 

MOVE WINDOW Command

Move a user-defined window created with DEFINE WINDOW, or a Visual FoxPro system window, to a new location. 

Refresh Method

Repaint a form or control and refresh any values, or refresh a project's visual display.

RELEASE WINDOWS Command

Remove user-defined windows or Visual FoxPro system windows from memory.

RESTORE WINDOW Command

Restore to memory window definitions and window statuses saved to a window file or memo field. 

SAVE WINDOWS Command

Save all or specified window definitions to a window file or memo field. 

SHOW WINDOW Command

Display one or more user-defined windows or Visual FoxPro system windows without activating them. 

SIZE WINDOW Command

Change the size of a window created with DEFINE WINDOW or a Visual FoxPro system window.

TextBox Control

Create a text box.

WBORDER( ) Function

Determine whether the active or specified window has a border. 

WCHILD( ) Function

Return either the number of child windows in a parent window or the names of the child windows in the order in which they are stacked in the parent window. 

WCOLS( ) Function

Return the number of columns within the active or specified window. 

WEXIST( ) Function

Determine whether the specified user-defined window exists. 

WFONT( ) Function

Return the name, size, or style of the current font for a window in Visual FoxPro for Windows. 

WLAST( ) Function

Return the name of the window that was active prior to the current window or determines whether the specified window was active prior to the current window. 

WLCOL( ) Function

Return the column coordinate of the upper-left corner of the active or specified window. 

WLROW( ) Function

Return the row coordinate of the upper-left corner of the active or specified window. 

WMAXIMUM( ) Function

Determine whether the active or specified window is maximized. 

WMINIMUM( ) Function

Determine whether the active or specified window is minimized. 

WONTOP( ) Function

Determine whether the active or specified window is in front of all other windows. 

WOUTPUT( ) Function

Determine whether output is being directed to the active or specified window. 

WPARENT( ) Function

Return the name of the parent window of the active or specified window. 

WREAD( ) Function

Included for backward compatibility. Use the Form Designer instead. 

WROWS( ) Function

Return the number of rows within the active or specified window.

WTITLE( ) Function

Return the title assigned to the active or specified window. 

WVISIBLE( ) Function

Determine if the specified window has been activated and isn't hidden. 

ZOOM WINDOW Command

Change the size and position of a user-defined window or a Visual FoxPro system window.

See Also

Other Resources

Input and Output (Visual FoxPro)
Language Categories