![]() |
Public API Reference |
#include <csspinbx.h>
Inheritance diagram for csSpinBox:
Public Methods | |
csSpinBox (csComponent *iParent, csInputLineFrameStyle iFrameStyle=csifsThickRect) | |
Create spin box object. More... | |
virtual | ~csSpinBox () |
Destructor. More... | |
virtual void | Draw () |
Draw the spin box. More... | |
virtual bool | HandleEvent (iEvent &Event) |
Handle external events. More... | |
void | SetLimits (int iMin, int iMax, char *iFormat="%d") |
Set spin box type to numerical and set spin limits. More... | |
void | SetValue (int iValue) |
Set spin box content. More... | |
int | InsertItem (char *iValue, int iPosition) |
Insert a item into spinbox (same as csSpinBoxInsertItem message). More... | |
virtual void | SetText (const char *iText) |
Set spinbox text. More... |
Definition at line 107 of file csspinbx.h.
|
Create spin box object.
|
|
Destructor.
|
|
Draw the spin box.
Reimplemented from csInputLine. |
|
Handle external events.
Reimplemented from csInputLine. |
|
Insert a item into spinbox (same as csSpinBoxInsertItem message).
|
|
Set spin box type to numerical and set spin limits.
|
|
Set spinbox text.
Reimplemented from csInputLine. |
|
Set spin box content.
If spin box type is numerical, the iValue parameter is the number that will be set in entry field (after it will be clipped to Min..Max), if spin box type is enumerated, iValue is the ordinal of value to be set. |