Database Solutions - Hints & Tips

Tip 04:
Changing the Title of an Askmess

Askmess Title Bar

If you include the special character ~followed by some text, in an askmess, then the title of the dialog window is changed to include that text

Example 1

askmess/warning "Are you sure you want to quit ?~Demo System Warning"

tip04_img1.gif (8002 bytes)

If you do not include the ~ followed by a text string, UNIFACE will use the Title Bar Text as defined in the Start Up Shell Definition.

tip04_img2.gif (43062 bytes)

Example 2

So askmess/warning "Are you sure you want to quit ?" when used with start up shell cal as defined above, gives the following:

tip04_img3.gif (7985 bytes)

compuware_01.gif (3977 bytes)


Copyright ©2000 OCS Consulting plc

dbs_block_logo.gif (2150 bytes)
Refresh Frames