A single menu item can contains another menu (embedded menu) or not. A GenericMenuItem has an Id and a Name.You can use a GenericMenuItem to modify the attributes of a menu (it is the only way to change its name).You cannot create a FBGenericMenuItem directly. You must use the insertion method in FBMenu of FBMenuManager to obtain a handle on a FBGenericMenuItem.
Public Attributes |
|
str | Caption |
Read/Write Property: Caption of the
menu item. |
|
bool | Enable |
Read/Write Property: Enable or
Disable (grey out) a menu Item. |
|
int | Id |
Read/Write Property: Id of the menu
item. |
|
FBGenericMenu | Menu |
Read/Write Property: If the menu item
leads to another menu. |
Read/Write Property: If the menu item leads to another menu.