GETN_MULTILINE_TEXT
#define GETN_MULTILINE_TEXT(_NODE_NAME, _NODE_LABEL, _DEFAULT_VAL) _tmpSubNode = _tmpNode.AddTextNode(_DEFAULT_VAL, #_NODE_NAME, TRGP_MULTILINE_TEXT);TREE_ADD_LABEL(_NODE_LABEL);
This macro creates a multi-line text edit box in the dialogbox.
EX1
#include <GetNbox.h> void GETN_MULTILINE_TEXT_ex1() { string strShow = "Hello\nWorld, \nWelcome to OriginLab \nPlease buy Pro version.....^_^\n" +" Test by OriginLab"; GETN_TREE( treeTest ); GETN_MULTILINE_TEXT(MultilineTest1, "Multiline Test1", strShow); GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE("5-10") GETN_EDIT_DISPLAY_WIDTH_RANGE( "30-40" ) GetNBox(treeTest, "test", "Test...", NULL, NULL); out_tree(treeTest); }
GETN_OPTION_MUTILINE_TEXT_BOX, GETN_MUTILINE_EDIT_ROLLUP_BUTTON, GETN_EDIT_DISPLAY_WIDTH_RANGE, GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE
GetNbox.h