PopupMenu

Description

The PopupMenu class implements the PopupMenu development environment component that is used to create a context menu.

Properties inherited from IPopupMenu

  Property name Brief description
Alignment The Alignment property determines where the context menu should appear relative to the mouse cursor.
AutoPopup The AutoPopup property determines whether the context menu appears automatically on clicking the additional mouse button.

Properties inherited from IMenu

   Property name Brief description
Images The Images property determines a name of the component which images are used in the component.
Items The Items property returns the collection of menu items.

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components located on the parent component.
Components The Components property returns the child component, which index is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property determines a component name.
Tag The compiler does not use the Tag property. The user can change the value of the Tag property and use it as he wishes.

Methods inherited from IPopupMenu

  Method name Brief description
Popup The Popup method displays context menu in the specified position.

Events

  Event name Brief description
OnClose The OnClose event occurs after the context menu has closed.
OnPopup The OnPopup event occurs immediately before the context menu is displayed.

See also:

Forms Assembly Classes