How to Create a Window Larger Than the DesktopLast reviewed: April 29, 1996Article ID: Q96363 |
The information in this article applies to:
SUMMARYThe Screen Builder can create a window that is larger than the FoxPro desktop. To make the parts of the window that are currently off the screen visible, you must use the MOVE WINDOW command.
MORE INFORMATIONInstead of creating multiple screens and joining them together in a screen set, you can create a large screen (maximum 120 lines in length and 255 lines in width) in the Screen Builder. To move to a different part of the window, you can create one or more push buttons to access other parts of the window.
Example 1 -- To Move a Window ("Test") VerticallyCreate a push button with the prompts Next and Previous. The variable for the push button is "choice". The VALID clause for this push button is as follows:
DO CASE CASE choice = 1 MOVE WINDOW test BY -25,0 CASE choice = 2 MOVE WINDOW test BY 25,0 ENDCASE Example 2 -- To Move a Window ("Test") HorizontallyCreate a push button with the prompts Left and Right. The variable for the push button is "option". The VALID clause for this push button is as follows:
DO CASE CASE option = 1 MOVE WINDOW test BY 0,-76 CASE option = 2 MOVE WINDOW test by 0,76 ENDCASE REFERENCES"Commands & Functions," version 2.0, page C3-534 "FoxPro Language Reference" version 2.5, page L3-682
|
Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a Windows Screen
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |