PopupMenu

Description

The PopupMenu class implements the PopupMenu development environment component that is used to create the 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 indicates 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 name of the component, the images of which should be 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 child property, the index of which is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property specifies the component name.
Tag The compiler does not use the Tag property. A 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 set position.

Events

  Event name Brief description
OnClose The OnClose event occurs after the context menu has closed.
OnPopup The OnPopup event occurs directly before the context menu appears.

See also:

Forms Assembly Classes