JVCL Help:TJvCustomSpeedButton

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvCustomSpeedButton
TJvImageSpeedButton
TJvSpeedButton
run\JvSpeedButton.pas


Summary

Base class for enhanced speed buttons.

run\JvSpeedButton.pas


Pascal

 run\JvSpeedButton.pas
 TJvCustomSpeedButton = class(TJvGraphicControl, IJvHotTrack);


Description

TJvCustomSpeedButton is the base class for enhanced speed buttons. It introduces the following properties:
For altering the display of the button:

Property Meaning
Alignment Determines how text is aligned within the button.
DoubleBuffered Determines whether the control’s image is rendered directly to the window or painted to an in-memory bitmap first.
GrayedInactive Indicates whether to display the image of the button grayed when the button is inactive.
GrayNewStyle Specifies the graying style of the image when the button is not enabled.
HintColor Determines the color of the hint boxes for the Help Hints for the button.
Style Determines the appearance of a button.
WordWrap Specifies whether the button text wraps to fit the width of the control.


For hot tracking:

Propery Meaning
HotTrack Specifies whether the button is highlighted when the mouse passes over it.
HotTrackFont Specifies the font used when the mouse passes over the button and HotTrack is true.
HotTrackFontOptions Specifies how changes to the Font affects HotTrackFont.


For automatically repeating clicks when the button is pressed:

Propery Meaning
AllowTimer Determines whether the OnClick event occurs at regular intervals while the button is in the depressed state.
InitPause Determines the amount of time, in milliseconds, that passes before the button calls Click for the first time, when pressed.
RepeatInterval Determines the amount of time, in milliseconds, that passes before the button calls Click again, when pressed.


For working with a drop-down menu:

Propery Meaning
DropDownMenu Identifies a pop-up menu associated with the speed button.
MarkDropDown Specifies whether the button displays a downward-pointing arrow.
MenuPosition Specifies the position where the pop-up menu will appear.


TJvCustomSpeedButton has two direct descendants: TJvImageSpeedButton and TJvSpeedButton.

run\JvSpeedButton.pas


About

Navigation

run\JvSpeedButton.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page