Class: cCJMenuItem

Module location: cCJCommandBarSystem.pkg line 3095 (view source)

can be used by all controls. Menu, toolbar and popups.

Class Hierarchy:

DFCOMAUTOMATIONOBJECTcComAutomationObjectcCJCommandBarActioncCJActioncCJMenuItem

Direct Known Subclasses:

cCJAboutMenuItem, cCJArrangeIconsMenuItem, cCJAutoArrangeIconsMenuItem, cCJCascadeMenuItem, cCJControlColorSelectorMenuItem, cCJCopyMenuItem, cCJCutMenuItem, cCJDeleteEditMenuItem, cCJDeoMenuItem, cCJExitMenuItem, cCJGridFieldChooserMenuItem, cCJGridFreezeColumnMenuItem, cCJGridRestoreLayoutMenuItem, cCJHelpMenuItem, cCJMDIWindowItem, cCJMDIWindowsMenuItem, cCJMinimizeWindowsMenuItem, cCJPasteMenuItem, cCJPopupColorMenuItem, cCJRestoreMenusMenuItem, cCJRestoreWindowsMenuItem, cCJSelectAllMenuItem, cCJStatusbarMenuItem, cCJTileHorizontally, cCJTileVertically, cCJUndoMenuItem, cCRM_MenuItem, cSigCJMenuItem,

Class Definition

Properties

BooleanpbAddToDesignerMenu
BooleanpbControlBeginGroup
BooleanpbControlCloseSubMenu
BooleanpbControlDoubleGripper
BooleanpbControlFlagControlStretched
BooleanpbControlFlagLeftPopup
BooleanpbControlFlagNoMovable
BooleanpbControlFlagRightAlign
BooleanpbControlFlagShowPopupBarToolTip
BooleanpbControlFlagWrapRow
BooleanpbControlPopupToolBar
BooleanpbInCreateTempInstance
IntegerpeControlStyle
IntegerpeControlType
note that these properties are design time and initalize time only properties
IntegerphoAction
Used to redirect an action to a different object.

Functions and Procedures

VariantAddDynamicControl(Handle hoControls)
AssignAction()
handle action for this menu-item. If the item is the action, make sure a com instance is created if this is not the action, attach to the action which should be created lots of assertions if there is a problem
Construct_Object()
Inherited from cCJAction
VariantCreateComControl(Handle hoControls)
create the menu item control. Return a DataFlex object for this control This assumes that an action ID exiss and that a com action object is created.
CreateComInstance(Handle hoControls)
Inherited from cCJAction
must create action and then the visual control
VariantCreateCommandBarControl(Handle hoControls Integer eType Integer iId Boolean bInCreateTempInstance)
used to actually create the desired control and add it to the passed commandbars
BooleanIsPopup()
returns true if the control is a popup type - i.e., it will have child menu items. Good for Augmentation
OnCreateControl(Handle hoObj)

References (63):

ModuleContaining SymbolLine
cCJAboutMenuItem.pkgcCJAboutMenuItem13
cCJDeoMenuItemClasses.pkgcCJDeoMenuItem25
cCJGridFieldChooserMenuItem.pkgcCJGridFieldChooserMenuItem4
cCJGridFreezeColumnMenuItem.pkgcCJGridFreezeColumnMenuItem3
cCJGridRestoreLayoutMenuItem.pkgcCJGridRestoreLayoutMenuItem3
cCJMDIWindowsMenuItem.pkgcCJMDIWindowItem7
cCJMDIWindowsMenuItem.pkgcCJMDIWindowsMenuItem26
cCJStandardMenuItemClasses.pkgcCJUndoMenuItem13
cCJStandardMenuItemClasses.pkgcCJDeleteEditMenuItem46
cCJStandardMenuItemClasses.pkgcCJCutMenuItem80
cCJStandardMenuItemClasses.pkgcCJCopyMenuItem114
cCJStandardMenuItemClasses.pkgcCJPasteMenuItem148
cCJStandardMenuItemClasses.pkgcCJSelectAllMenuItem180
cCJStandardMenuItemClasses.pkgcCJExitMenuItem211
cCJStandardMenuItemClasses.pkgcCJHelpMenuItem234
cCJStandardMenuItemClasses.pkgcCJStatusbarMenuItem256
cCJStandardMenuItemClasses.pkgcCJAutoArrangeIconsMenuItem293
cCJStandardMenuItemClasses.pkgcCJRestoreMenusMenuItem330
cCJStandardMenuItemClasses.pkgcCJCascadeMenuItem353
cCJStandardMenuItemClasses.pkgcCJTileHorizontally379
cCJStandardMenuItemClasses.pkgcCJTileVertically405
cCJStandardMenuItemClasses.pkgcCJMinimizeWindowsMenuItem430
cCJStandardMenuItemClasses.pkgcCJRestoreWindowsMenuItem456
cCJStandardMenuItemClasses.pkgcCJArrangeIconsMenuItem481
cSigCJCalendarControl.pkgcCRM_MenuItem308
cSigCJMenuItem.pkgcSigCJMenuItem44
cSigCJRibbonBar.pkgcCJPopupColorMenuItem696
cSigCJRibbonBar.pkgcCJControlColorSelectorMenuItem725
oCommandBarSystem_Standard.pkgoFileMenu17
oCommandBarSystem_Standard.pkgoViewMenu73
oCommandBarSystem_Standard.pkgoOrdersMenuItem80
oCommandBarSystem_Standard.pkgoInventoryItemViewMenuItem185
oCommandBarSystem_Standard.pkgoVendorEntryViewMenuItem196
oCommandBarSystem_Standard.pkgoSalesPersonEntryViewMenuItem1107
oCommandBarSystem_Standard.pkgoCustomerEntryViewMenuItem1118
oCommandBarSystem_Standard.pkgoOrderEntryMenuItem1129
oCommandBarSystem_Standard.pkgoGeneralCompontantsMenuItem141
oCommandBarSystem_Standard.pkgoPushButtonsMenuItem146
oCommandBarSystem_Standard.pkgoTriStateCheckboxMenuItem156
oCommandBarSystem_Standard.pkgoMessageDialogsMenuItem167
oCommandBarSystem_Standard.pkgoMonthCalendarMenuItem178
oCommandBarSystem_Standard.pkgoPopupMessageControlMenuItem189
oCommandBarSystem_Standard.pkgoMarkupControlMenuItem200
oCommandBarSystem_Standard.pkgoReportControlMenuItem212
oCommandBarSystem_Standard.pkgoTextFileMenuItem217
oCommandBarSystem_Standard.pkgoStandardTableMenuItem228
oCommandBarSystem_Standard.pkgoSQLTableMenuItem239
oCommandBarSystem_Standard.pkgoCalendarControlMenuItem251
oCommandBarSystem_Standard.pkgoSpecialDatesMenuItem256
oCommandBarSystem_Standard.pkgoCategoriesMenuItem267
oCommandBarSystem_Standard.pkgoResource278
oCommandBarSystem_Standard.pkgoStandardCalendarMenuItem290
oCommandBarSystem_Standard.pkgoBespokeCalendarMenuItem301
oCommandBarSystem_Standard.pkgoResource312
oCommandBarSystem_Standard.pkgoTreeViewMenuItem326
oCommandBarSystem_Standard.pkgoSimpleTreeViewMenuItem331
oCommandBarSystem_Standard.pkgoSalesOrdersTreeViewMenuItem342
oCommandBarSystem_Standard.pkgoNavigateMenu356
oCommandBarSystem_Standard.pkgoDisplayOptionsMenu390
oCommandBarSystem_Standard.pkgoHelpMenu431
oCommandBarSystem_Standard.pkgoPropertyGrid_Menu514
oCommandBarSystem_Standard.pkgoTaskPanel_Menu533
oCommandBarSystem_Standard.pkgoShortCutBar_Menu553