New Menu (gb.qt4)
Dim
hMenu
As
Menu
hMenu
=
New
Menu
(
Parent
As
Object
[
,
Hidden
As
Boolean
]
)
[
As
"
EventName
"
]
Creates a new menu.
Parent
must be a
Window
or another menu.
Use the
Hidden
parameter to specify that the menu is not visible by default. This is useful if you want to add a menu on a window on the fly, just for using it as a contextual pop-up menu.