![]() ![]() ![]() ![]() wxgridcellnumbereditorthe editor for numeric integer data. derived from
wxgridcelltexteditor see also wxgridcelleditor, wxgridcellfloateditor, wxgridcellbooleditor, wxgridcelltexteditor, wxgridcellchoiceeditor include files <wx/grid.h> members
wxgridcellnumbereditor::wxgridcellnumbereditor
wxgridcellnumbereditor::wxgridcellnumbereditorwxgridcellnumbereditor(int min = -1, int max = -1) allows to specify the range for acceptable data; if min == max == -1, no range checking is done
wxgridcellnumbereditor::getstringwxstring getstring() const string representation of the value.
wxgridcellnumbereditor::hasrangebool hasrange() const if the return value is true, the editor uses a wxspinctrl to get user input, otherwise it uses a wxtextctrl.
wxgridcellnumbereditor::setparametersvoid setparameters(const wxstring& params) parameters string format is "min,max".
|