#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 UNICODE *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 167 of file formeditobjname.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clear to empty string.
Definition at line 178 of file formeditobjname.h. |
|
||||||||||||||||||||
|
Create form with label from resource lookup.
|
|
|
Retrieve string "edit" control for form.
Definition at line 191 of file formeditobjname.h. |
|
|
Retrieve label control for form. Usually the label control is only retrieved for alignment purposes. Definition at line 196 of file formeditobjname.h. |
|
|
Get current string value.
Definition at line 200 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 205 of file formeditobjname.h. |
|
||||||||||||||||
|
Write current value to INI file.
Definition at line 213 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 220 of file formeditobjname.h. |
|
||||||||||||||||
|
Select range of characters in string.
Definition at line 225 of file formeditobjname.h. |
|
||||||||||||
|
Set set of 'valid' or 'invalid' characters. This does not alter the current contents, if any.
Definition at line 233 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 241 of file formeditobjname.h. |
|
|
Definition at line 262 of file formeditobjname.h. |
|
|
Definition at line 261 of file formeditobjname.h. |
1.3.8-20040913