Class TWPToolbar
Hierarchy
System.TObject | System.Classes.TPersistent | System.Classes.TComponent | Vcl.Controls.TControl | Vcl.Controls.TWinControl | Vcl.Controls.TCustomControl | WPCTRRich.TWPCustomToolCtrl | WPTbar.TWPCustomToolPanel | TWPToolbar
Properties
Property ActionList : TActionList
Property Align : TAlign
Property Anchors : TAnchors
Property AutoEnabling : Boolean
Property BevelInner : TBevelCut
Property BevelLines : TWPHorzLines
Property BevelOuter : TBevelCut
Property BevelWidth : TBevelWidth
Property ButtonDistance : Integer
Property ButtonHeight : Integer
Property ButtonPadding : Integer
Property Caption : TCaption
Property ChildsEnabled : Boolean
Property Color : TColor
Property ConfigString : TWPToolBarConfigString
Property Constraints : TSizeConstraints
Property Enabled : Boolean
Property FlatButtons : Boolean
Property Font : TFont
Property FontChoice : TFontSelChoice
Property FontSizeFrom : Integer
Property FontSizeTo : Integer
Property Height : Integer
Property KeepGroupsTogether : Boolean
Property Locked : Boolean
Property MarginBottom : Integer
Property MarginTop : Integer
Property NextToolBar : TWPCustomToolCtrl
Property NoEditItemsInStyleList : Boolean
Property ParentColor : Boolean
Property ParentShowHint : Boolean
Property PopupMenu : TPopupMenu
Property Scaled : Boolean
Property sel_ActionIcons : TwpTbIcons2
Property sel_DatabaseIcons : TwpTbIcons3
Property sel_EditIcons : TwpTbIcons4
Property sel_InsertIcons : TwpTbIcons4a
Property sel_ListBoxes : TwpTbListboxen
Property sel_OutlineIcons : TwpTbIcons6
Property sel_StatusIcons : TwpTbIcons
Property sel_TableIcons : TwpTbIcons5
Property ShowAllElements : TWPToolBarShowAllElements
Property ShowFont : Boolean
Property ShowHint : Boolean
Property StandardColorDropdowns : Boolean
Property TrueTypeOnly : Boolean
Property UpdateObject : TComponent
Property UpdateObjectName : string
Property Visible : Boolean
Property Width : Integer
Property WidthBetweenGroups : Integer
Methods
Procedure AddControl(comp:TControl)
Procedure Change(Sender:TObject)
Procedure ColBoxDrawItem(Control:TWinControl; index:Integer; Rect:TRect; state:TOwnerDrawState)
Function DeselectIcon(index:Integer; group:Integer; num:Integer) : Boolean
Procedure DoClick(Sender:TObject)
Procedure DoExitCB(Sender:TObject)
Procedure DoStyleDropDown(Sender:TObject)
Procedure DrawPic(Canvas:TCanvas; X:Integer; Y:Integer)
Function EnableIcon(index:Integer; group:Integer; num:Integer; Enabled:Boolean) : Boolean
Function FillCBBackground(Canvas:TCanvas; Rect:TRect) : Boolean
Procedure FontBoxDrawItem(Control:TWinControl; index:Integer; Rect:TRect; state:TOwnerDrawState)
Function GetFontBox : TComboBox
Function GetFontItems : TStrings
Function GetIcon(index:Integer; group:Integer; num:Integer) : TWPSpeedButton
Function GetSizeBox : TComboBox
Function GetSizeItems : TStrings
Function GetStyleBox : TComboBox
Function GetStyleItems : TStrings
Procedure Notification(AComponent:TComponent; Operation:TOperation)
Procedure RemoveControl(comp:TControl)
Procedure ScaleButtonHeight(x:Single)
Function SelectIcon(index:Integer; group:Integer; num:Integer) : Boolean
Procedure SetFontSelect(fon:TFont)
Procedure SetRTFedit(x:TWPCustomRtfEdit)
Procedure UpdateObj(UpdateObjp:TComponent; Typ:TWpSelNr; str:string; num:Integer)
Procedure UpdateSelection(Typ:TWpSelNr; str:string; num:Integer)
Procedure UpdateZoomDisplay(val:Integer)
Events
OnChange : TNotifyEvent= procedure (Sender : TObject) of Object
OnClick : TNotifyEvent= procedure (Sender : TObject) of Object
OnExit : TNotifyEvent= procedure (Sender : TObject) of Object
OnIconSelection : TWPIconSelectEvent= procedure(Sender: TObject; var Typ: TWpSelNr; const str: string; const group: Integer; const num: Integer; const index: Integer) of object;
OnInitActionButton : TWPInitActionButtonEvent= TWPInitActionButtonEvent
This event is triggered to initialize each button
OnMouseDown : TMouseEvent= TMouseEvent
OnMouseMove : TMouseEvent= TMouseEvent
OnMouseUp : TMouseEvent= TMouseEvent
OnPaintSpeedButton : TWPPaintSpeedButtonEvent= TWPPaintSpeedButtonEvent
OnSelection : TWPSelectEvent= TWPSelectEvent
Used or referenced by
-Function WPToolbarConfigurate(Source:TWPToolbar; ParentForm:TForm; Caption:string) : Boolean |