ui.Window.error()

This method is used with the variable of the WINDOW data type and displays a text to the reserved error line of the window associated with the variable:

variable.Error("message" [, attributes])

This method accepts two arguments. The first argument is a quoted string or a variable of a character data type which is to be displayed to the error line. The attributes argument is a quoted string containing the standard display attributes of color and intensity, it is optional.

There may be more than one attribute in the character string, and they should be separated by commas. Here are the attributes you can use:

An example of the method call:

CALL win_var.Error("The error message", "red, reverse")

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.