Support Link in GetN dialog


Version: 2022b

Type: Features

Category: Programming

Subcategory: Origin C

Jira: ORG-24973


Example:

#include <GetNbox.h>

void GetNBox_ex()
{
	string strHint = "See more details on <this> page";
	string strURL = "https://www.originlab.com/doc/OriginC/ref/GetNBox";
	
    GETN_TREE(tr)
    GETN_STR(hint, strHint, "")
    GETN_HINT_WRAPOPTIONS(HINT_BREAK_NEWLINE, FALSE)
    tr.hint.SetAttribute(STR_LABEL_ATTRIB, strHint);
	tr.hint.SetAttribute(STR_URL_ATTRIB, strURL);
    GETN_STR(strval, "Please enter a text for label", "")
    
    GetNBox(tr);
}