Support Cuebanner text for GETN_NUM and GETN_STR


Version: 2026

Type: Features

Category: Programming

Subcategory: Origin C

Jira: ORG-31743


OC example:

#include <GetNbox.h>
void cue()
{
    GETN_TREE(tr)
    GETN_STR(user,_L("User Name"), "")
    double val = NANUM;
    GETN_NUM(test, _L("Enter a number"), val) GETN_CUEBANNER("Empty ok")
    if(GetNBox(tr, NULL, NULL, NULL, NULL)) {
    	if(tr.test.dVal == NANUM)
    		out_str("no value entered");
    	else
    		out_str("you have entered a value");
    }
}

In X-Function, use C comment like //add as cuebanner in the value in XF builder.

QQ_1762137646994-20251103-024046.png