.comment-link {margin-left:.6em;}

Monday, August 27, 2007

 

twolpopupmenu

TWOLPopupMenu object
Unit: WOLGUI04.
Descendant of TWOLMenu. One is about the representation, in object WOL, of a basic menu popup of the GUI in use.

Public Metodos and Eventos:

constructor Create (AOwner: TWOLRoot); override;
Used method to create the object popup.

destructor Destroy; override;
Used method to destroy the object popup.

procedure Popup (X, Y: TWOLSmallInt); virtual;
Used method to make to appear the menu in an indicated point of the area customer of the window owner of the menu popup.

procedure Build;
Method to reconstruct menu items when necessary. It does not have to be external to be used.

procedure Add (aItem: TWOLMenuItem);
Method used to add to a menu item to the popup menu.

Public properties and Events:

Alignment: TWOLMenuAlignment (For Reading and Writing)
Property that indicates the alignment of the menu items.

AutoPopup: Boolean (For Reading and Writing)
Property that indicates if the popup menu must automatically appear when requested by the user.

OnPopup: TWOLMenuEvent (For Reading and Writing)
Event that happens when the popup menu appears.

Labels: ,


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?