[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
IO_DefineMsg                                                     IOTTT



Purpose   To display a message when the user moves to the specified
          input field.

Type Optional.

Declaration    IO_DefineMsg(ID, X, Y:byte;ST : string);

          ID is the ID number of the input field assigned with this
          message.
          X is the X coord of the first char of the message
          Y is the Y coord or display line of the message
          ST is the text or message

Uses CRT, FastTTT, DOS, WinTTT, KeyTTT, IOTTT.

Remarks   Every input field is assigned an ID in the IO_DefineStr
          routine.

          You can display a message when the user moves to any input
          field. When the user exits the field, the message is removed
          and the original screen content (which was overlayed by the
          message) is restored.

          You can define unique messages for one, some or all of the
          input fields.

Example


               USES CRT, FASTTTT, DOS, WINTTT, KEYTTT, IOTTT;
               BEGIN
                 IO_DEFINEMSG(7,1,25,'INPUT THE CHEST MEASUREMENT');
               END.


The message "Input the chest measurement" will be displayed at the
bottom left of the screen, whenever the cursor is moved to input field
7.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson