GETN_OPTION_EDIT_ALIGN

 

Contents

Name

GETN_OPTION_EDIT_ALIGN

Declaration

#define GETN_OPTION_EDIT_ALIGN(_STR)              _strTemp = _STR; _tmpNode.SetAttribute(STR_ATTRIB_EDITCOL_ALIGN, _strTemp);

Remark

Set Edit Column Alignments for CheckBox|Numbers|Strings.

Parameters

_STR
[input] CheckBox|Numbers|Strings
The value for CheckBox can be 0, 1 or 2.
0 means the checkbox in the leftside of the dialogbox.
1 means the checkbox in the center of the dialogbox.
2 means the checkbox in the right side of the dialogbox.
Numbers and Strings are the same as CheckBox.

Return

Examples

EX1

#include <GetNbox.h>
void GETN_OPTION_EDIT_ALIGN_ex1()
{
    GETN_TREE( treeTest );
    GETN_OPTION_EDIT_ALIGN("0|1|1") // CheckBox = Left, Numbers = Center, String = Center
       GETN_CHECK(FixIntercept, "Fix Intercept", 1)
       GETN_COLOR(FitCurveColor, "Fit Curve color", 1)
       GETN_NUM(Test, "Slope Compared at", 0)
       GETN_STR(Output, "Output Sheet name", "Junk")
    if( GetNBox( treeTest ))    //a vertical line appears
        out_tree( treeTest );
}

See Also

header to Include

GetNbox.h

Reference