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