Function name Description
Ncfunc password This function sets or deletes a password level from the NC.
● Set password:
The password should be specified for the required password level
as parameter.
● Delete password:
A blank string deletes the password level.
Syntax:
<function name="ncfunc.password">password
</function>
Example:
<let name="password"type="string"></let>
<function name="ncfunc.password" > password</
function>
<function name="ncfunc.password" > _T"CUSTOMER" </
function>
Delete password:
<function name="ncfunc.password" > _T"" </function>
Control form color This function provides the text or background color of the dialog box
as a string (color coding see Chapter "Color coding (Page 46)").
Range:
● BACKGROUND – request color value of the background
● TEXT – request color value of the text (foreground)
Syntax:
<function name="control.formcolor"
return="variable">_T"Area"</function>
Example:
<let name="bk_color" type="string"></let>
<function name="control.formcolor"
return="bk_color">_T"BACKGROUND"</function>
Generating user dialogs
1.10 Predefined functions
Easy XML
104 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1