Guidance
指路人
g.yi.org
software / RapidQ / RQ Doc / html / qmainmenu.html

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

  
Appendix A: QMAINMENU
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
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Mon 2017-11-20  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2015-12-25 19:42:40