Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

EDIT_VAL Struct Reference
[MGui Structures]

Validation data for the EditField Object. More...


Data Fields

char * text
 EDIT text.

short len
 Text lenght.

int key
 Key code originator (0 if not applicable).

unsigned focus_lost
 If True, EDIT will lose the focus anyway.

unsigned focus_leave
 If set to False, EDIT will keep focus.

unsigned text_changed
 If set to True EDIT redraws itself.

unsigned text_validated
 If set to True EDIT becomes validated.


Detailed Description

Validation data for the EditField Object.

The EDIT Object passes this structure to the Validation callbacks EDIT_VAL_CB (C API) and EDITVAL_CB (C++ API) when it's about to lose the input focus. Last three members are return flags.

See also:
CmAbsEditField::setValidateCallback, MEditSetValCallback()


Field Documentation

unsigned EDIT_VAL::focus_leave
 

If set to False, EDIT will keep focus.

unsigned EDIT_VAL::focus_lost
 

If True, EDIT will lose the focus anyway.

int EDIT_VAL::key
 

Key code originator (0 if not applicable).

short EDIT_VAL::len
 

Text lenght.

char* EDIT_VAL::text
 

EDIT text.

unsigned EDIT_VAL::text_changed
 

If set to True EDIT redraws itself.

unsigned EDIT_VAL::text_validated
 

If set to True EDIT becomes validated.


Generated on Sun Jun 29 13:03:08 2003 for MGui API by doxygen1.3-rc2