![]() ULTIMATE Page Control Suite™ |
|
Ultimate Page Control Suite™ Win32 | Delphi™ | C++Builder™ |
|
D.08.A. TADVANCE_PagedTools_Collection |
|
TOwnedCollection TADVANCE_PIDCollection TADVANCE_AuxTools_Collection TADVANCE_PageGroup_Collection TADVANCE_ToolCollection__Prot TADVANCE_MasterTools_Collection TADVANCE_PagedTools_Collection |
PagedTools™. Example PagedTools™ are marked by square blue glyphs. The page class, TADVANCE_Page_PagedTools, parents managed TADVANCE_PagedTools_Collections of TADVANCE_PagedTools_Items. |
|
PagedTools™ PROPERTY EDITOR, PROPERTY EDITOR FUNCTIONS |
The PagedTools™ property elipsis of TADVANCE_Page_PagedTools invokes the PagedTools™ property editor. Global Toolbar properties are applied to the whole collection. |
The PagedTools™ property editor. FUNCTIONS
|
|
METHODS |
|
function AddButtonItem: TADVANCE_PagedTools_Item;
Adds a ToolButton item to the PagedTools collection, returning a pointer to the Item containing the button. Re-draw is automated. |
|
DELPHI EXAMPLES C++ EXAMPLES |
|
procedure DeleteButtonItem(Index: Integer);
Deletes the PagedTools item at Index. Re-draw is automated. |
|
DELPHI EXAMPLE C++ EXAMPLE |
|
function Move(CurIndex, NewIndex: Integer): Integer;
Moves a ToolButton from CurIndex to NewIndex. Re-draw is automated. |
|
DELPHI EXAMPLE C++ EXAMPLE |
|
function PID_GetIndex(APID: Integer): Integer; virtual;
Returns the index of an item if Item.PID = APID; -1 is returned if no match is found. |
|
DELPHI EXAMPLE — REFERRING TO PID TO PROCESS ITEM BY INDEX OF ITEM C++ EXAMPLE — REFERRING TO PID TO PROCESS ITEM BY INDEX OF ITEM |
|
function PID_GetItem(APID: Integer): TADVANCE_PIDItem; virtual;
Returns a pointer to an item if Item.PID = APID; or nil if no match is found. |
|
DELPHI EXAMPLE — REFERRING TO PID TO PROCESS ITEM C++ EXAMPLE — REFERRING TO PID TO PROCESS ITEM |
|
D.08.B. TADVANCE_PagedTools_Item |
|
TCollectionItem TADVANCE_PIDItem TADVANCE_AuxTools_Item TADVANCE_PageGroup_Item TADVANCE_ToolCollectionItem__Prot TADVANCE_MasterTools_Item TADVANCE_PagedTools_Item A TADVANCE_PagedTools_Item wraps each PagedTool™ of the Paged Toolbar™. |
|
EVENTS |
TADVANCE_PagedTools_Item events. |
|
property OnClick: TNotifyEvent read FOnClick write SetOnClick;
Button OnClick.
property OnDblClick: TNotifyEvent read FOnDblClick write SetOnDblClick;
Button OnDblClick.
property OnMouseDown: TMouseEvent read FOnMouseDown write SetOnMouseDown;
Button OnMouseDown.
property OnMouseMove: TMouseMoveEvent read FOnMouseMove write SetOnMouseMove;
Button OnMouseMove.
property OnMouseUp: TMouseEvent read FOnMouseUp write SetOnMouseUp;
Button OnMouseUp. |
|
PROPERTIES |
TADVANCE_PagedTools_Item properties. |
|
property Caption: String read FCaption write SetCaption;
Button Caption.
property Down: Boolean read FDown write SetDown default False;
Button Down.
property Enabled: Boolean read FEnabled write SetEnabled default True;
Button Enabled.
property Glyph: TBitmap read GetGlyph write SetGlyph;
Button Glyph.
property GroupIndex: Integer read FGroupIndex write SetGroupIndex default 0;
Button GroupIndex.
property Hint: String read FHint write SetHint;
Button Hint.
property IsPrecededBySpacer : Boolean read FIsPrecededBySpacer write SetIsPrecededBySpacer;
IsPrecededBySpacer declares the beginning of a group of buttons preceded by a spacer. The width of the spacer equals PMInterface.ToolButton_ProportionalSpacerWidthPercent times Page.Toolbar.ToolWidth (if Page.Toolbar.Captions_Visible is false) or Page.Toolbar.ToolWidth_Captions_Visible (if Page.Toolbar.Captions_Visible is true). IsPrecededBySpacer of the first button of the collection is ignored.
property NumGlyphs: TNumGlyphs read FNumGlyphs write SetNumGlyphs default 2;
Button NumGlyphs.
property PopupMenu: TPopupMenu read FPopupMenu write SetPopupMenu;
Button PopupMenu.
property RefDescriptor : String read FRefDescriptor write FRefDescriptor;
Intended for manual identification in the IDE. Can also be used for programmatic identification or any other desirable purpose, as RefDescriptor is not processed by UPC™ operations.
property User_GroupID: Integer read FUser_GroupID write FUser_GroupID;
Provided for developer purposes such as numerically coded security. User_GroupID is not processed by UPC™ operations.
property Visible; (Boolean)
Button Visible. |
|
NEXT •
|
|
|