【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.3.1.32 GETN_EDIT_DISPLAY_WIDTH_RANGE
Contents
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
Header to Include
GetNbox.h