#include <csradbut.h>
Inheritance diagram for csRadioButton:
Public Methods | |
csRadioButton (csComponent *iParent, int iButtonID, int iButtonStyle=CSBS_DEFAULTRADIOBUTTON) | |
Create a radio button object. | |
virtual bool | HandleEvent (iEvent &Event) |
Handle external events. | |
Protected Methods | |
virtual void | Press () |
Emulate a button press (generate command). | |
void | SetButtBitmap (char *id_n, char *id_p) |
Change bitmaps used for displaying normal/pressed states. | |
void | SetRadioButtonState (bool iNewState) |
Set radio button state. |
The radio button contains a fixed bitmap which changes depending on its state (selected/unselected) and no text. Radio buttons are usualy tied in groups of which only one can be selected, and when user selects one previous selection automatically deselects. The first radio button in group should have the CSS_GROUP flag set.