CreateMenuItem
CreateMenuItem(sText$)
Create a menu item
sText$ | String | Text of menu item |
---|
Returns result of type OBJECT or SYM
Introduced in KCML version 6.20
CreateMenuItem(sText$, iStyle)
Create a menu item
sText$ | String | Text of menu item |
---|---|---|
iStyle | KCML_MENUSTYLE_ENUM | Style bits |
Returns result of type OBJECT or SYM
Introduced in KCML version 6.60
This method is used to add top-level menu items to a menu control or to add sub menu items to a menu item. This method can only be used in the Create() event. See CreateControl() for more details and examples.