2.3.1.98 GETN_XYRANGE


Name

GETN_XYRANGE

Declaration

#define	GETN_XYRANGE(_NODE_NAME, _NODE_LABEL, _NUM_DATA, _VALUE)				octree_create_composite_range_node(&_tmpSubNode, &_tmpNode, #_NODE_NAME, _NODE_LABEL, _NUM_DATA, CRT_XYERR, _VALUE);

Remark

The macro allow user to select XYRange as data

Parameters

_NODE_NAME
[input] The node name of the control
_NODE_LABEL
[input] Label of the control
_NUM_DATA
[input] The number of subrange in this data range
_VALUE
[input] Initial value of the DataRange. If not empty, function okutil_getn_update_ranges should be called.

Return

Examples

EX1

#include <GetNbox.h>
void GETN_XYRANGE_ex1()
{
    GETN_BOX(trRoot)
    GETN_XYRANGE(Input, "Input Data", 2, "[Book1]Sheet1!((D1,F1),(G1,H1),(I1,E1),(A,B))")
    okutil_getn_update_ranges(&trRoot);
    if ( GetNBox(trRoot) )
        out_tree(trRoot);
    return;
}

See Also

GETN_RANGE,GETN_XYRANGE_COMPLEX, GETN_XYZRANGE, GETN_INTERACTIVE

Okutil_getn_update_ranges

Header to Include

GetNBox.h

Reference