Документация по Gambas 2
Development Environment Documentation
Documents
Language Index
Language Overviews
Lexicon
Компиляция & Установка
Последние изменения
ПРОЧТИ
Регистрация
Что переводить
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
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.