2.3.1.27 GETN_EDITOR_SIZE_USER_OPTION


Name

GETN_EDITOR_SIZE_USER_OPTION

Declaration

#define GETN_EDITOR_SIZE_USER_OPTION(_STROPTION)		_tmpSubNode.SetAttribute(STR_USER_SIZE_ATTRIB ,_STROPTION);

Remark

custom the size of edit box.

Parameters

_STROPTION
[input] the maximum size of edit box.

Return

Examples

EX1

void GETN_EDITOR_SIZE_USER_OPTION_Ex1()
{
    GETN_BOX( treeTest );
    GETN_STR(WksName, "Worksheet Name (please use short name)", "This is a test")  GETN_EDITOR_SIZE_USER_OPTION("#10")
    if( GetNBox( treeTest ))
        out_tree( treeTest );
}

Header to Included

GetNBox.h

Reference