Top  >  Lycia reference  >  Querix 4GL  >  Classes and Methods  >  ui classes and methods  >  ui.Window methods  >  ui.Window.message()

ui.Window.message()

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

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

Usage

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 message 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:

·         Black, white, yellow, green, magenta, red, blue, cyan

·         Underline, reverse, blink

·         Normal, dim, bold

An example of the method call:

CALL win_var.Message("This is the message text")