(Menu Designer). File→New→Menu→New file.
New Menu :
) Menu (Bar-);
) Shortcut (Popup-)
Menu. Menu Designer ( ) Menu1 (.27).
Visual FoxPro Menu .
1. (Menu Designer). Service
. , Pad-:
Service (). Service (Popup) , ;
Exit. .
, . Prompt() Menu Designer , Service. .
Result :
Command. , Result;
Submenu (). . Create, .
Procedure. ( ), Create, .
Pad Name Bar #. ( , FoxPro).
Submenu (), ( ). ٸ Create. , .
( ) Menu Level ( ), , Bar.
Exit (), Prompt. , . Procedure Result Create.
Menu Designer Menu 2 Exit Procedure , .
2. .
RELEASE WINDOW CALENDAR
RELEASE WINDOW CALCULATOR &&
CLEAR WINDOWS &&
SET SYSMENU TO DEFAULT &&
CLOSE ALL &&
, , . , .
|
|
READ EVENTS, . , .
CLEAR EVENTS. , .
. Menu Generate. . .mnx .mnt ( ). Generate menu, (Output file), .mpr. Generate. . , , .
DO! Program. DO .mpr . , , , FoxPro. . Exit .
, , .mpx
Visual FoxPro . (Event) , (Click), (DragDrop), (LostFocus) ..
, Visual FoxPro , READ EVENTS. , , VFP . , , (Method).
. , . . : RemoveObject , CloseTables , Show .
Visual FoxPro 100 , 100 . Visual FoxPro , , 1. , .
, , Properties, . , . .
, , . Command Button( ) Form Controls. .
|
|
, Caption (). Properties , .
, . ( Click). (), .
Properties() Methods(). Click () . . , . .36.
File → Save. , ESC File → Close. .