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".
|