GETN_HINT_WRAPOPTIONS


Name

GETN_HINT_WRAPOPTIONS

Declaration

#define GETN_HINT_WRAPOPTIONS(_wrapOptions, _bBold) 	GETN_READ_ONLY_COLOR GETN_OPTION_DISPLAY_FORMAT(DISPLAY_EDITOR_USE_LABEL | (_bBold ? DISPLAY_EDITOR_BOLD_FONT : 0) | (_wrapOptions ? DISPLAY_EDITOR_NEXT_LINE | ((HINT_BREAK_NEWLINE == _wrapOptions) ? (DISPLAY_NOT_SKIP_WIDTH_FOR_HINT|DISPLAY_EDITOR_READONLY_MULTILINE) : DISPLAY_EDITOR_WRAPPED ) : 0))

Remark

Set hint text with wrap option bold option

Examples

EX1

#include <GetNbox.h>

void GETN_HINT_WRAPOPTIONS_ex()
{
    string strHint = "LaTeX App and MiKTeX are required.\n\
			Origin fails to find MiKTeX.\n If it is already installed, specify the path below.\n\
			Or click Install button to start download and install.\n\
			You need to log off and log in again after installation.\n\
			See more details on <this> page.";
    string strURL = "https://www.originlab.com/FileExchange/details.aspx?fid=221";
	
    GETN_TREE(tr)
    
    GETN_STR(hint, strHint, "") 
		GETN_HINT_WRAPOPTIONS(HINT_BREAK_NEWLINE, 0)
		GETN_HINT_LINK_TARGET(strURL)
	
    GETN_STR(strval, "Please enter a text", "")
    
    GetNBox(tr);
}

See Also

GETN_HINT_EX, GETN_HINT_LINK_TARGET

header to Include

GetNBox.h

Reference