XMessageBox |
createMessageBox( |
[in] XWindowPeer |
aParent, |
| [in] Rectangle |
aPosSize, |
| [in] string |
aType, |
| [in] long |
aButtons, |
| [in] string |
aTitle, |
| [in] string |
aMessage ); |
- Description
- creates a message box.
- Returns
- the created message box or a null reference if it cannot be
created.
- Parameter aParent
- a valid XWindowPeer reference which is used as a parent. This parameter
must not be null.
- Parameter aPosSize
- a rectangle which defines the position and size of the message
box in pixel.
- Parameter aType
- a string which determines the message box type.
The following strings are defined.
- infobox A message box to inform the user about a certain event.
- warningbox A message to warn the user about a certain problem.
- errorbox A message box to provide an error message to the user.
- querybox A message box to query information from the user.
- messbox A normal message box.
- Parameter aButtons
- specifies which buttons should be available on the
message box. A combination of
MessageBoxButtons . An infobox
ignores this paramter and always use button "OK".
- Parameter aTitle
- specifies the title of the message box.
- Parameter aMessage
- specifies text which will be shown by the message box.
Line-breaks must be added using 'CR' or 'CR+LF'.
|