Table of Contents

Notes

KTBStyle is a class interface used in the creation and application of custom toolbar styles and should not be modified unnecessarily.

Methods

Definition Parameters Description
ButtonBackground g As Graphics, theButton As KTBButton, Owner As KillerToolBar, State As String Used to draw a button's background area.
ButtonDisabled g As Graphics, theButton As KTBButton, Owner As KillerToolBar Used to draw the button when disabled.
ButtonDown g As Graphics, theButton As KTBButton, Owner As KillerToolBar Used to draw the button while the mouse is currently down.
ButtonDrag g As Graphics, theButton As KTBButton, Owner As KillerToolBar Used to draw the button during a drag operation.
ButtonNormal g As Graphics, theButton As KTBButton, Owner As KillerToolBar Used to draw the button under normal non-interactive circumstances.
ButtonOver g As Graphics, theButton As KTBButton, Owner As KillerToolBar Used to draw the button when mouse is hovering over its area.
ButtonSelected g As Graphics, theButton As KTBButton, Owner As KillerToolBar Used to draw the button when it is's selected value is True.
DrawButton g As Graphics, theButton As KTBButton, Owner As KillerToolBar, p As Picture, IsDown As Boolean, State As String Internal method for calling the other drawing methods.
DrawControl g As Graphics, theButton As KTBButton, Owner As KillerToolBar, IsDown As Boolean, State As String Draws and positions the attached RectControl.
DrawMoreArrow g As Graphics, theButton As KTBButton, Owner As KillerToolBar Draws the disclosure chevron for attached MenuItems.
DrawSpacer g As Graphics, theButton As KTBButton, Owner As KillerToolBar Draws spacers in the display.
GetButtonGap as Integer None The amount of pixels to be used between toolbar items when drawing.
GetCaptionsUnder as Boolean None If captions should be underlined.
GetDropDownWidth as Integer None The width in pixels of the dropdown disclosure.
GetMoreArrowWidth as Integer None The width in pixels of the dropdown disclosure button.
GetSpacerWidth as Integer None The width in pixels of spacer items.
ToolbarBackground g as Graphics Owner as KillerToolbar Draws the background of the toolbar.

Changes to this Page

Date Edit Editor
02/01/2018 Document Created