TcadRadioButton Class

Unit: cButtonRadio
TFrame
  _ButtonsAncestor.T__ButtonAncestor
    cButtonRadio.TcadRadioButton
type TcadRadioButton = class(T__ButtonAncestor)

The TcadRadioButton type exposes the following members.

Show:
 NameDescription
IsChecked

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
Click

Called when the button is clicked. - activate the down status - wait for TimeBetweenDownAndUpStatesWhenClicked ms - activate the up status - call the onClick() event if it's not empty (you can override it but it's better to fill the onClick event) (Overrides _ButtonsAncestor.T__ButtonAncestor.Click .)

Repaint

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

Top
Show:
 NameDescription
rBackground

rChecked

Top