[Gambas-user] Get the index of a menu
Matti
math.eber at ...221...
Sun Nov 29 19:26:08 CET 2009
What is the need for the index?
A menu has a name.
You can react to the click event with
PUBLIC SUB Menuname_Click()
and do everything with the menu item with the properties
Menuname.xxx = ...
enable/disable, check, and so on.
Matti
David Dell schrieb:
> How can I get the index of a menu in the collection of children of its
> parent? There is no Menu.Index property.
>
> Thank you,
> David
More information about the User
mailing list