IMetaAttributesBreadcrumbDimTreePopupEventArgs.PopupMenu

Fore Syntax

PopupMenu: IPopupMenu;

Fore.NET Syntax

None;

Description

The PopupMenu property determines context menu in the drop-down list of the MetaAttributesBreadcrumb component.

Comments

As a context menu, use the PopupMenu development environment component.

NOTE. This property is not implemented in the Fore.NET language because the PopupMenu component is missing in the development environment for this language.

Fore Example

Executing the example requires that the repository contains:

Add a link to the Metabase system assembly.

// Form open event
Sub POPUPMENUFormOnShow(Sender: Object; Args: IEventArgs);
Begin
    mab.Rubricator := MetabaseClass.Active.ItemById("FC").Open(NullAs IRubricatorInstance;
    mab.ApplyDefaultAttributesOrder;
End Sub POPUPMENUFormOnShow;

// Event on opening context menu in the drop-down list of the component
Sub mabOnDimTreePopup(Sender: Object; Args: IMetaAttributesBreadcrumbDimTreePopupEventArgs);
Begin
    Args.PopupMenu := pm;
    Debug.WriteLine("Dictionary key - " + Args.DimSelection.Dimension.Key.ToString);
End Sub mabOnDimTreePopup;

After executing the example in the MetaAttributesBreadcrumb component in the drop-down list on the right mouse button click:

See also:

IMetaAttributesBreadcrumbDimTreePopupEventArgs