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

Thursday, August 23, 2007

 

twoltoolbutton

TWOLTOOLBUTTON
Public methods and Events:

constructor Create;
Used method to create the object.
destructor Destroy; override;
Used method to destroy the object.
procedure Assign (aButton: TWOLToolButton);
Used procedure to copy the properties of the last button as argument.

Properties of the Object:

Handle: TWOLHandle (For Reading and Writing)
Property that returns handle from the button.
Name: String (For Reading and Writing)
Property that contains the name given to the button.
AllowAllUp: Boolean (For Reading and Writing)
Property that indicates that all the buttons can be in a non-pressed state.
Down: Boolean (For Reading and Writing)
Property that indicates if the button is pressed or not.
Grouped: Boolean (For Reading and Writing)
Property that it indicates that the button is part of a group.
ImgIcon: TWOLToolButtonIcon (For Reading and Writing)
Property that indicates the icon of the button. This icon is predefined.
Indeterminate: Boolean (For Reading and Writing)
Property that it indicates that the button can be in an indefinite state.
Style: TWOLToolButtonStyle (For Reading and Writing)
Property that tells the style of the button.
State: TWOLToolButtonState (For Reading and Writing)
Property that tells the state of the button.
Wrap: Boolean (For Reading and Writing)
Property that tells if the button can roll inside of the bar of tools.
Hint: String (For Reading and Writing)
Property that loads the tip that is presented when mouse is on the button.
Caption: String (For Reading and Writing)
Property that loads the heading of the button.
Visible: Boolean (For Reading and Writing)
Property that defines if the button is visible or not.
Index: Integer (For Reading and Writing)
Property that tells the index number of the button (based in zero).
Enabled: Boolean (For Reading and Writing)
Property that indicates if the button is enabled or not.
OnClick: TWOLEvent (For Reading and Writing)
Event when the button is clicked.

TWOLTOOLBUTTONS
TWOLToolButtons is a special object that does not have to be created. The tool bar already loads a property with this object class.

Public methods and Events:

constructor Create (to aOwner: TWOLToolBar);
Procedure that creates a pertinent object the tool bar indicated.
destructor Destroy; override;
Procedure that destroys the object.
procedure Add (aButton: TWOLToolButton);
Procedure used to add a button in the list.
procedure Insert (aButton: TWOLToolButton);
Procedure used to insert a button in the list.
procedure Delete (aIndex: Integer);
Procedure used to erase a button at position index in the list.
procedure Clear;
Used procedure to clear the list of buttons.
procedure Assign (Value: TWOLToolButtons);
Procedure used to substitute the list of current buttons for the one used in the object passed in Value.
procedure BuildButtons; Procedure used to remake the buttons in the tool bar.

Properties of the Object:

Button [Index: Integer]: TWOLToolButton (Only for Reading)
Property that points to the index of the button.
Count: Integer (Only for Reading)
Property that tells the amount of buttons in the list.

Labels: ,


Comments: Post a Comment

Links to this post:

Create a Link



<< Home

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