#include <mgui/formeditobjname.h>
Inheritance diagram for MGUI::FORM_EDIT_OBJECTNAME:

Public Member Functions | |
| void | ClearValue (bool notify=true) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| FORM_EDIT_OBJECTNAME () | |
| MGUI::CTRL_EDIT_OBJECTNAME & | GetEditCtrl () |
| MGUI::CTRL_LABEL & | GetLabel () |
| const RVC::OBJECTNAME & | GetValue () const |
| 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 | SetSelection (int StartChar=0, int EndChar=-1, bool NoScroll=true) |
| void | SetValidChars (const MIUNICODE *string, bool invert=false) |
| void | SetValue (const RVC::OBJECTNAME &name, bool notify=true) |
| virtual | ~FORM_EDIT_OBJECTNAME () |
Protected Member Functions | |
| virtual void | OnChangeValue () |
| virtual bool | OnValidate (MISTRING &string) |
Private Attributes | |
| CTRL_EDIT_OBJECTNAME_T< FORM_EDIT_OBJECTNAME > | m_editctrl |
| CTRL_LABEL | m_label |
Definition at line 170 of file formeditobjname.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clear to empty string.
Definition at line 181 of file formeditobjname.h. |
|
||||||||||||||||||||
|
Create form with label from resource lookup.
|
|
|
Retrieve string "edit" control for form.
Definition at line 194 of file formeditobjname.h. |
|
|
Retrieve label control for form. Usually the label control is only retrieved for alignment purposes. Definition at line 199 of file formeditobjname.h. |
|
|
Get current string value.
Definition at line 203 of file formeditobjname.h. |
|
||||||||||||||||||||
|
Read value from INI file. If Create() has already been performed the control's state will be updated.
Definition at line 208 of file formeditobjname.h. |
|
||||||||||||||||
|
Write current value to INI file.
Definition at line 216 of file formeditobjname.h. |
|
|
Called when value is changed after validation. Derived class must call corresponding base class method BEFORE performing its own processing. If the user modifies the text in the edit control this will not be called until the control loses "focus". Reimplemented in MGUI::FORM_EDIT_OBJECTNAME_T< _CT >. |
|
|
Validate the string and alter if possible/necessary. Derived class must call corresponding base class method BEFORE performing its own processing.
Reimplemented in MGUI::FORM_EDIT_OBJECTNAME_T< _CT >. |
|
|
Set label text using string from resource lookup.
Definition at line 223 of file formeditobjname.h. |
|
||||||||||||||||
|
Select range of characters in string.
Definition at line 228 of file formeditobjname.h. |
|
||||||||||||
|
Set set of 'valid' or 'invalid' characters. This does not alter the current contents, if any.
Definition at line 236 of file formeditobjname.h. |
|
||||||||||||
|
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.
Definition at line 244 of file formeditobjname.h. |
|
|
Definition at line 265 of file formeditobjname.h. |
|
|
Definition at line 264 of file formeditobjname.h. |
1.3.8-20040913