NOTIFY - v14


notify                          t=<text>, title=<text>, default=<1|2|3>
data block(s);

Function

Display a message on the screen using a notify box.

Parameters

t=

Text denoting the type of the notify box. It can be:

 

err        error message

 

inf         information message

 

mes      simple message

 

war       warning message

xwar    extended warning, also shows the Cancel button

 

que       question message

xque    extended question, also shows the Cancel button

 

A variable cannot be used for this field.

 

 

title=<text>

The title of the dialogue box.

 

 

default=1|2|3

Specify the Default button Yes (1) | No (2) |Cancel (if present(3))

 

 

data block(s)

The text of the message. Each line should be in the form of <message>, with a semi-colon used to terminate the last line.

Examples

notify t=war,title=Warning,default=1
'hey ! are you sure about this ?'
'what you are doing could take a long time ...';

Notes

Detailed description of  the use of the NOTIFY usage  can be found in the UI Framework documentation.

 

The OK button sets iferr to FALSE for ERR, INF and MES and CANCEL sets iferr to TRUE.

 

For QUE and WAR the OK button sets the ifyes to TRUE, and the CANCEL button sets ifno to TRUE.

The position of the dialogue box is relative to the default popup menus position (see POPUP command).

OK button is always present. CANCEL button is always present for XQUE, XWAR and EXT.

See also

polling, poposition, UI Framework documentation, Theme