Rapid-Q Documentation by William Yu (c)1999-2000 Appendix A: QMAINMENU

QMAINMENU Component

QMainmenu implements a container for your menu items. Use it to add a drop-down main menu to a form.

QMainMenu Properties
FieldTypeR/WDefaultSupport
HandleINTEGERRW
ParentQFORMWWXG

QMainMenu Methods
MethodTypeDescriptionParamsSupport
AddItemsSUBIAdd items to mainmenuQMENUITEMs, InfiniteWXG
DelIndexSUB (index AS LONG)Delete items, by index, from menu1W
DelItemsSUBIDelete items from menuQMENUITEMs, InfiniteW
InsertSUB (I%, Item AS QMENUITEM)Insert an item2W


QMainMenu Examples
  DIM Form AS QForm
  DIM MainMenu AS QMainMenu
  DIM Item1 AS QMenuItem

  Item1.Caption = "&File"
  MainMenu.AddItems Item1
  MainMenu.Parent = Form

  Form.ShowModal

Prev Component Contents Next Component
Hosted by uCoz
Hosted by uCoz