2.3.1.44 GETN_INTERACTIVE


Name

GETN_INTERACTIVE

Declaration

#define	GETN_INTERACTIVE(_NODE_NAME, _NODE_LABEL, _DEFAULT_VAL)		_tmpSubNode = _tmpNode.AddTextNode(_DEFAULT_VAL, #_NODE_NAME, TRGP_INTERACTIVE);TREE_ADD_LABEL(_NODE_LABEL);

Remark

This macro creates a column/range selecting option in the dialogbox.

Parameters

_NODE_NAME
[input] the name of the new node to be added to the tree
_NODE_LABEL
[input] the string value to show as the node name in the dialogbox
_DEFAULT_VAL
[input] string contents to show as default

Return

Examples

EX1

#include <GetNBox.h>
void GETN_INTERACTIVE_ex1()
{
    GETN_BOX( treeTest );
    GETN_INTERACTIVE(interactive, "Data Range", "[Book1]Sheet1!B")
    if( GetNBox( treeTest ))
        out_tree( treeTest );
}

See Also

GETN_RANGE, GETN_XYRANGE, GETN_XYRANGE_COMPLEX, GETN_XYZRANGE, GETN_OPTION_INTERACTIVE_CONTROL

Header to Include

GetNbox.h

Reference