TcxSchedulerEventPopupMenu.GetMenuItem(TcxSchedulerEventPopupMenuItem,Integer) Method
In This Article
Returns the TMenuItem object corresponding to the AItem popup menu item or ASubItemIndex submenu item.
#Declaration
Delphi
function GetMenuItem(AItem: TcxSchedulerEventPopupMenuItem; ASubItemIndex: Integer = -1): TMenuItem;
#Parameters
Name | Type |
---|---|
AItem | Tcx |
ASub |
Integer |
#Returns
Type |
---|
TMenu |
#Remarks
Invoke the GetMenuItem method within the OnPopup event handler to use the TMenuItem object, associated with the AItem popup menu item or ASubItemIndex submenu item (if the Show time as or Label item is selected), to customize the popup menu’s items.
Note
if the cx
See Also