TcadTextButton Class

Unit: cButtonText
TFrame
  _ButtonsAncestor.T__ButtonAncestor
    cButtonText.TcadTextButton
type TcadTextButton = class(T__ButtonAncestor)

The TcadTextButton type exposes the following members.

Show:
 NameDescription
IsDown

Manage the status of this button (False by default) (Inherited from _ButtonsAncestor.T__ButtonAncestor .)

IsFocused

Manage the focus state of this button (Inherited from _ButtonsAncestor.T__ButtonAncestor .)

IsUp

Manage the status of this button (True by default) (Inherited from _ButtonsAncestor.T__ButtonAncestor .)

Text

The text shown on this button (Inherited from _ButtonsAncestor.T__ButtonAncestor .)

TimeBetweenDownAndUpStatesWhenClicked

Sleeping time between Down and up states when the Click method is called. Value is in milliseconds, used by the sleep() instruction. (Inherited from _ButtonsAncestor.T__ButtonAncestor .)

Top
Show:
 NameDescription
AfterConstruction

internal use, call it only if you override it in a descendant (Overrides _ButtonsAncestor.T__ButtonAncestor.AfterConstruction .)

GetImageIndexOfUnknowChar

Repaint

Called to refresh the button on screen, override it in your descendants or it will crash ! (Overrides _ButtonsAncestor.T__ButtonAncestor.Repaint .)

Top