Rapid-Q Documentation by William Yu (c)1999-2000 | Appendix A: QMAINMENU |
|
Field | Type | R/W | Default | Support |
|
|
|
|
|
Handle | INTEGER | R | W | |
Parent | QFORM | W | WXG |
Method | Type | Description | Params | Support |
|
|
|
|
|
AddItems | SUBI | Add items to mainmenu | QMENUITEMs, Infinite | WXG |
DelIndex | SUB (index AS LONG) | Delete items, by index, from menu | 1 | W |
DelItems | SUBI | Delete items from menu | QMENUITEMs, Infinite | W |
Insert | SUB (I%, Item AS QMENUITEM) | Insert an item | 2 | W |
DIM Form AS QForm DIM MainMenu AS QMainMenu DIM Item1 AS QMenuItem Item1.Caption = "&File" MainMenu.AddItems Item1 MainMenu.Parent = Form Form.ShowModal