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

Public Member Functions | |
| void | ClearValue (bool notify=true) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, int maxlen, int width=0, MGUI::CTRL_EDIT_STRING::FLAGS flags=MGUI::CTRL_EDIT_STRING::FLAG_Default, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedHeight, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const char *label, int maxlen, int width=0, MGUI::CTRL_EDIT_STRING::FLAGS flags=MGUI::CTRL_EDIT_STRING::FLAG_Default, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedHeight, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| FORM_EDIT_STRING () | |
| MGUI::CTRL_EDIT_STRING & | GetEditCtrl () |
| MGUI::CTRL_LABEL & | GetLabel () |
| const MISTRING & | GetValue () |
| 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 | SetLabel (const MISTRING &label) |
| void | SetLabel (const char *label) |
| void | SetSelection (int StartChar=0, int EndChar=-1, bool NoScroll=true) |
| void | SetValidChars (const UNICODE *string, bool invert=false) |
| void | SetValue (const UNICODE *string, bool notify=true) |
| virtual | ~FORM_EDIT_STRING () |
Private Member Functions | |
| virtual void | OnChangeValue () |
| virtual void | OnUserEdit () |
| virtual bool | OnValidate (MISTRING &string) |
Definition at line 1418 of file ctrl.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clear to empty string.
|
|
||||||||||||||||||||||||||||||||
|
Create form with Unicode label.
|
|
||||||||||||||||||||||||||||||||
|
Create form 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 current string 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.
|
|
|
Validate the string and alter if possible/necessary.
|
|
|
Set label text from Unicode string.
|
|
|
Set label text using string from resource lookup.
|
|
||||||||||||||||
|
Select range of characters in string.
|
|
||||||||||||
|
Set set of 'valid' or 'invalid' characters. This does not alter the current contents, if any.
|
|
||||||||||||
|
Set current string value with validation. OnValidate() will be called and if valid, the string will be updated. No comparison is made with the current string value.
|
1.3.8-20040913