#include <csspinbx.h>
Inheritance diagram for csSpinBox:
Public Methods | |
csSpinBox (csComponent *iParent, csInputLineFrameStyle iFrameStyle=csifsThickRect) | |
Create spin box object. | |
virtual | ~csSpinBox () |
Destructor. | |
virtual void | Draw () |
Draw the spin box. | |
virtual bool | HandleEvent (iEvent &Event) |
Handle external events. | |
void | SetLimits (int iMin, int iMax, char *iFormat="%d") |
Set spin box type to numerical and set spin limits. | |
void | SetValue (int iValue) |
Set spin box content.<. More... | |
int | InsertItem (char *iValue, int iPosition) |
Insert a item into spinbox (same as csSpinBoxInsertItem message). | |
virtual void | SetText (const char *iText) |
Set spinbox text. |
|
Set spin box content.<. p> 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. |