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


Purpose   Assigns a message to a specific input field.

Decln.    Add_Message(ID,X,Y:byte;Msg:string);

Remarks   ID is the field ID number. The field must have previously been
          added with the Add_Field procedure.
          X Y are the leftmost coordinates of the message. If X is set to
          zero, the Toolkit automatically centers the message on the
          screen. If Y is set to zero, the message is displayed on the line
          below the input field.
          Msg is the message text.

          Every time the user enters the input field, the message will be
          displayed. When the user leaves the field, the message will be
          removed and the original screen contents restored.

Example

BEGIN
    CREATE_FIELDS(20);
    ADD_FIELD(1, 20,2,20,2, 40,5);
    ADD_MESSAGE(1, 1,5, 'CHECK THEIR CREDIT RATING!');
END;

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