DAS  3.1.6 - 18/09/2017
Data Fields
EDIT_VAL Struct Reference

Validation data for the EditField Object. More...

#include <Mguidefs.h>

+ Collaboration diagram for EDIT_VAL:

Data Fields

unsigned focus_leave
 
unsigned focus_lost
 
int key
 
short len
 
char * text
 
unsigned text_changed
 
unsigned text_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()

Definition at line 1387 of file Mguidefs.h.

Field Documentation

§ focus_leave

unsigned EDIT_VAL::focus_leave

If set to False, EDIT will keep focus

Definition at line 1397 of file Mguidefs.h.

Referenced by ValidateCB(), valstedt(), and valwledt().

§ focus_lost

unsigned EDIT_VAL::focus_lost

If True, EDIT will lose the focus anyway

Definition at line 1395 of file Mguidefs.h.

§ key

int EDIT_VAL::key

Key code originator (0 if not applicable)

Definition at line 1393 of file Mguidefs.h.

§ len

short EDIT_VAL::len

Text lenght

Definition at line 1391 of file Mguidefs.h.

§ text

char* EDIT_VAL::text

EDIT text

Definition at line 1389 of file Mguidefs.h.

Referenced by DGeoeditCB(), ValidateCB(), valstedt(), and valwledt().

§ text_changed

unsigned EDIT_VAL::text_changed

If set to True EDIT redraws itself

Definition at line 1399 of file Mguidefs.h.

§ text_validated

unsigned EDIT_VAL::text_validated

If set to True EDIT becomes validated

Definition at line 1401 of file Mguidefs.h.


The documentation for this struct was generated from the following file:
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:47:13 for DAS - Rel. 3.1.6 - 18/09/2017.