MenuCascade object
Menu objects contained within a MenuCascade object appear as a
drop-down button palette.
Properties
|
MenuCascade property |
Datatype |
Description |
|---|---|---|
|
Boolean |
Specifies whether the Menu object is selected. The TRUE — Object is FALSE — Object is not |
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
Columns |
Integer |
Specifies the number of columns in the drop-down |
|
CurrentItem |
Menu |
Specifies the Menu object that is currently |
|
Default |
Boolean |
Specifies whether the menu item is the default and In context menus, the Default The property is also used Values are: TRUE — FALSE — Menu item is not |
|
DropDown |
Boolean |
Specifies whether the Menu objects contained in the TRUE — Menu objects contained in the FALSE — Menu objects contained in the |
|
Boolean |
Specifies whether the Menu object is enabled (can TRUE — Object is FALSE — Object is not |
|
|
Menu |
Specifies the Menu objects under a Menu |
|
|
MenuItemType |
MenuItemType (enumerated) |
Allows you to identify special menu items that are MenuItemTypeAbout! MenuItemTypeExit! MenuItemTypeHelp! MenuItemTypeNormal! |
|
MergeOption |
MenuMerge- Option (enumerated) |
Specifies how the object is affected when an OLE EditMenu! Exclude! FileMenu! HelpMenu! Merge! WindowMenu! For |
|
MicroHelp |
String |
Specifies the text of the MicroHelp for the |
|
ParentWindow |
Window |
Specifies the window that owns the Menu |
|
ShiftToRight |
Boolean |
Specifies whether the Menu object shifts down or to TRUE — Object shifts to FALSE — Object shifts down. |
|
Shortcut |
Integer |
Specifies the shortcut key for the object. This |
|
String |
Specifies the tag value assigned to the Menu |
|
|
String |
Specifies the text in the Menu |
|
|
ToolbarItemDown |
Boolean |
Specifies how the toolbar button appears. Values TRUE — Toolbar button appears FALSE — Toolbar button appears This property is automatically reset when any |
|
ToolbarItemDownName |
String |
Specifies the name of the toolbar icon associated |
|
ToolbarItemBarIndex |
Integer |
Specifies which toolbar the object is on when |
|
ToolbarItemName |
String |
Specifies the name of a stock toolbar picture you |
|
ToolbarItemOrder |
Integer |
Specifies the order of the item in the |
|
ToolbarItemSpace |
Integer |
Specifies the amount of empty space before the item |
|
ToolbarItemText |
String |
Specifies the text that displays in the toolbar |
|
ToolbarItemVisible |
Boolean |
Specifies whether the toolbar item displays. Values TRUE — Toolbar item is FALSE — Toolbar item is not |
|
Boolean |
Specifies whether the Menu object is visible. TRUE — Object is FALSE — Object is not |
Events
|
MenuCascade event |
Occurs |
|---|---|
|
When the Menu object is clicked (selected or |
|
|
When the user presses the F1 key or drags the |
|
|
When the user moves to the Menu object using the |
Functions
|
MenuCascade function |
Datatype returned |
Description |
|---|---|---|
|
Integer |
Displays a check mark next to the Menu object and |
|
|
String |
Returns the class of the Menu object |
|
|
Integer |
Disables (and grays) the Menu object so that it |
|
|
Integer |
Enables the Menu object so that it can be selected, |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Integer |
Makes the Menu object invisible |
|
|
Integer |
Displays the Menu object at the specified |
|
|
Integer |
Adds an event to the end of the message queue for |
|
|
Integer |
Makes the Menu object visible |
|
|
Integer |
Triggers a specified event in the Menu object and |
|
|
Object |
Returns the type of the control |
|
|
Integer |
Removes the check mark next to the Menu object and |