GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE
#define GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE(_DISPFMT) _strTemp = _DISPFMT;_tmpSubNode.SetAttribute(STR_ATTRIB_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE, _strTemp);
Set multiline line edit show range. The min show rows and max show rows. Add * to the row range string to resize on the bottom right corner of the edit control.
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") // "3-100*" to resize the editbox GETN_CURRENT_SUBNODE.SetAttribute(STR_MULTI_EDT_EXPSHR_ATTRIB, 0); GetNBox(treeTest, "test", "Test...", NULL, NULL) }
GETN_MULTILINE_TEXT
GetNbox.h