next up previous contents index
Next: Reading the fields Up: Dialog boxes Previous: Custom dialogue boxes

Creation of the fields

Each of the functions described in this section inserts an input or an output field in a dialog box.

  $\blacktriangleright$ Dialog:InsertText(WIN MESG ALIGN)
 
The output field inserted by this function displays a message.

  $\blacktriangleright$ Dialog:InsertText(WIN MESG ALIGN ICON)
 
The output field inserted by this function displays a message associated to an icon.

  $\blacktriangleright$ Dialog:InsertMultiText(WIN MESG LINES)
 
The output field inserted by this function displays a message in a scrolling zone.

  $\blacktriangleright$ Dialog:InsertTextField(WIN MESG DEFAULT CHOICES)
 
The input field inserted by this function reads a short text (one line). A list of predefined texts is proposed to the user. The value associated to the field is a text.

  $\blacktriangleright$ Dialog:InsertMultiTextField(WIN START LINES)
 
The input field inserted by this function reads a long text (many lines). The field can be scrolled.

  $\blacktriangleright$ Dialog:InsertIntegerField(WIN MESG DEFAULT )
 
The input field inserted by this function reads an integer value. The value associated to the field is an integer.

  $\blacktriangleright$ Dialog:InsertRangeField(WIN MESG DEFAULT MIN MAX)
 
The input field inserted by this function reads an integer value in a specified range. The value associated to the field is an integer.

  $\blacktriangleright$ Dialog:InsertMenuField(WIN MESG ITEMS DEFAULT)
 
The input field inserted by this function allows to select an item into a menu. The value associated to the field can be an integer (the index of the selected item) or a text (the selected item).

  $\blacktriangleright$ Dialog:InsertBooleanField( WIN MESG START)
 
The input field inserted by this function reads a boolean value. The value associated to the field is an integer (0 for false and 1 for true).


next up previous contents index
Next: Reading the fields Up: Dialog boxes Previous: Custom dialogue boxes
Yann Mevel
1999-04-30