2.3.1.28 GETN_EDIT_DISPLAY_WIDTH_RANGE


Name

GETN_EDIT_DISPLAY_WIDTH_RANGE

Declaration

#define GETN_EDIT_DISPLAY_WIDTH_RANGE(_DISPFMT)	_strTemp = _DISPFMT;_tmpSubNode.SetAttribute(STR_ATTRIB_EDIT_DISPLAY_WIDTH_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_EDIT_DISPLAY_WIDTH_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_EDIT_DISPLAY_WIDTH_RANGE("50-100")
    GetNBox(treeTest, "test", "Test...", NULL, NULL)
}

See Also

GETN_MULTILINE_TEXT

Header to Include

GetNbox.h

Reference