#include <mgui/ctrl.h>
Inheritance diagram for MGUI::FORM_EDIT_NUMBER:

Public Member Functions | |
| void | ClearValue (bool notify=true) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, double dft, double min, double max, int places=0, int width=0, MGUI::CTRL_EDIT_NUMBER::FLAGS flags=MGUI::CTRL_EDIT_NUMBER::FLAG_Default, MGUI::CTRL_EDIT_NUMBER::FORMAT format=MGUI::CTRL_EDIT_NUMBER::FORMAT_Decimal, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const char *label, double dft, double min, double max, int places=0, int width=0, MGUI::CTRL_EDIT_NUMBER::FLAGS flags=MGUI::CTRL_EDIT_NUMBER::FLAG_Default, MGUI::CTRL_EDIT_NUMBER::FORMAT format=MGUI::CTRL_EDIT_NUMBER::FORMAT_Decimal, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| FORM_EDIT_NUMBER () | |
| MGUI::CTRL_EDIT_NUMBER & | GetEditCtrl () |
| MGUI::CTRL_LABEL & | GetLabel () |
| const DOUBLE_RANGE & | GetRange () const |
| double | GetValue () |
| bool | HasValue () |
| void | IniRead (INIHANDLE IniHandle, const char *IniGroup, const char *IniField, bool notify=true) |
| void | IniWrite (INIHANDLE IniHandle, const char *IniGroup, const char *IniField) const |
| void | SetFormat (MGUI::CTRL_EDIT_NUMBER::FORMAT format, int places=-1) |
| void | SetLabel (const MISTRING &label) |
| void | SetLabel (const char *label) |
| void | SetLatLonFormat (DEGTOSTRFLAGS flags) |
| bool | SetRange (const DOUBLE_RANGE &range, bool notify=true, MGUI::CTRL_EDIT_NUMBER::FLAGS flags=MGUI::CTRL_EDIT_NUMBER::FLAG_Default) |
| void | SetReadOnly (bool ReadOnly=true) |
| void | SetUnitConversion (const UNITCONV &unitconv) |
| void | SetValue (double value, bool notify=true) |
| virtual | ~FORM_EDIT_NUMBER () |
Private Member Functions | |
| virtual void | OnChangeValue () |
| virtual void | OnUserEdit () |
Definition at line 1784 of file ctrl.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clear the value.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Create the control with Unicode label.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Create the control with label from resource lookup.
|
|
|
Retrieve string "edit" control for form.
|
|
|
Retrieve label control for form. Usually the label control is only retrieved for alignment purposes. |
|
|
Get allowed numeric range.
|
|
|
Get current value.
|
|
|
Determine if has valid value.
|
|
||||||||||||||||||||
|
Read value from INI file. If Create() has already been performed the control's state will be updated.
|
|
||||||||||||||||
|
Write current value to INI file.
|
|
|
Called when value is changed after validation. If the user modifies the text in the edit control this will not be called until the control loses "focus". |
|
|
Called when user modifies the text in the edit control.
|
|
||||||||||||
|
Set format for showing/entering values. Setting to Latitude, Longitude or DegMinSec will also adjust range.
|
|
|
Set label text from Unicode string.
|
|
|
Set label text using string from resource lookup.
|
|
|
Set format for displaying latitude/longitude values.
|
|
||||||||||||||||
|
Set allowed range.
|
|
|
Set whether value is read-only or not.
|
|
|
Set unit conversion for displayed value.
|
|
||||||||||||
|
Set current value.
|
1.3.8-20040913