2.3.1.42 GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE


Name

GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE

Declaration

#define GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE(_DISPFMT)	_strTemp = _DISPFMT;_tmpSubNode.SetAttribute(STR_ATTRIB_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE, _strTemp);

Remark

Set multiline line edit show range. The min show rows and max show rows.

Parameters

_DISPFMT
multiline edit box show range, the bigest size of the box, can be the max range.

Return

Examples

EX1

#include <GetNbox.h>
void GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE_ex1()
{
    string strShow = "Hello\nWorld, \nWelcome to OriginLab \nPlease buy Pro version.....^_^\n  Test by OriginLab";
    GETN_TREE( treeTest );
    GETN_MULTILINE_TEXT(MultilineTest, "Multiline Test", strShow)
    GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE("3-100")
    GETN_CURRENT_SUBNODE.SetAttribute(STR_MULTI_EDT_EXPSHR_ATTRIB, 0);
    GetNBox(treeTest, "test", "Test...", NULL, NULL)
}

See Also

GETN_MULTILINE_TEXT

Header to Include

GetNbox.h

Reference