Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20111

899 bytes added, 14:28, 4 April 2011
CValEdit
<big><syntaxhighlight lang="cpp">
#include "clineedit.h"
 
class CValEdit: public CLineEdit{
void (*_help)(MessageStatus, CDialog&);
int edit();
};
</syntaxhighlight></big>===Attributes===<big><syntaxhighlight lang="cpp"> void (*_help)(MessageStatus, CDialog&); bool (*_validate)(const char*, CDialog&);</syntaxhighlight></big>===Constructors===<big><syntaxhighlight lang="cpp"> CValEdit(char* Str, int Row, int Col, int Width, int Maxdatalen, int* Insertmode, bool (*Validate)(const char* , CDialog&) = NO_VALDFUNC, void (*Help)(MessageStatus, CDialog&) = NO_HELPFUNC, bool Bordered = false, const char* Border=C_BORDER_CHARS); CValEdit(int Row, int Col, int Width, int Maxdatalen, int* Insertmode, bool (*Validate)(const char* , CDialog&) = NO_VALDFUNC, void (*Help)(MessageStatus, CDialog&) = NO_HELPFUNC, bool Bordered = false, const char* Border=C_BORDER_CHARS);</syntaxhighlight></big>===Method===<big><syntaxhighlight lang="cpp"> int edit();
</syntaxhighlight></big>