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

Public Types | |
| enum | FLAGS { FLAG_Default = 0x0000, FLAG_RightJustify = 0x0001, FLAG_ReadOnly = 0x0002, FLAG_Opaque = 0x0004, FLAG_WidthInPixels = 0x0008 } |
Public Member Functions | |
| void | ClearValue (bool notify=true) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, int maxlen, int width=0, FLAGS flags=FLAG_Default, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedHeight) |
| CTRL_EDIT_STRING () | |
| 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 | SetValue (const MIUNICODE *string, bool notify=true) |
| virtual | ~CTRL_EDIT_STRING () |
Protected Member Functions | |
| virtual bool | OnValidate (MISTRING &string) |
Definition at line 1281 of file ctrl.h.
|
|
|
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clear to empty string.
|
|
||||||||||||||||||||||||
|
Create control.
|
|
|
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.
|
|
|
Validate the string and alter if possible/necessary. Derived class must call corresponding base class method BEFORE performing its own processing.
|
|
||||||||||||
|
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