2.3.1.68 GETN_PAD


Name

GETN_PAD

Declaration

#define GETN_PAD(_NODE_NAME) GETN_STR(_NODE_NAME,"","") GETN_SHOW(FALSE);

Remark

Create a dummy variable. Use this macro with GETN_MULTI_COLS_BRANCH to support uneven arrangement for multiple controls.

Parameters

_NODE_NAME
[input] the name of the new node to be added to the tree

Return

Examples

EX1

#include <GetNBox.h>
void GETN_PAD_ex()
{
	GETN_BOX( treeTest );
    GETN_BEGIN_BRANCH(trBranch,"condition") 
    GETN_MULTI_COLS_BRANCH(2, DYNA_MULTI_COLS_COMAPCT) 
    GETN_OPTION_BRANCH(GETNBRANCH_OPEN)
		GETN_LIST(cond1, _L("Condition 1"), 2, "greater than|less than|between") 
		GETN_PAD(dummy)
		GETN_NUM(val11, "", 1)	
		GETN_NUM(val12, _L("and"), 10)		
	GETN_END_BRANCH(trBranch)
    if( GetNBox( treeTest ))
        out_tree( treeTest );
}

See Also

GETN_MULTI_COLS_BRANCH

Header to Include

GetNbox.h

Reference