GUIBaseContext :: messageBox - Show message box
The function displays a message box. The text displayed in the message box is taken from the string or constructed from a message resource.
Implementation overview
- Display message box for last error
GUIBaseContext :: messageBox (  ) - Create message from message resource
GUIBaseContext :: messageBox ( iMessageNumber, sParameter1, sParameter2, sParameter3 ) - Display test in message box
GUIBaseContext :: messageBox ( sText )
Implementation details
-
Display message box for last error
GUIBaseContext  :: messageBox (  )
The function displays a message box for the last registered application error. Text variables in the message are replaced as being passed to the error.
to list
-
Create message from message resource
GUIBaseContext  :: messageBox ( int32 iMessageNumber, odaba::String &sParameter1, odaba::String &sParameter2, odaba::String &sParameter3 )
The function creates the message text from a message resource (error definition) defined in the resource database. The function locates the message resource identified by the message number iMessageNumber and replaces message variables by parameters passed in sParameter1 ... sParameter3.
When passing iMessageNumber 0 or with an undefined value, parameters are combined to a message, directly.
- iMessageNumber
- Message number
The message number passed refers be an error/message definition the resource database.
- sParameter1 - String parameter
- sParameter2 - String parameter
- sParameter3 - String parameter
to list
- iMessageNumber
- Message number
-
Display test in message box
GUIBaseContext  :: messageBox ( odaba::String &sText )
The message box displays the message passen in sText.
- sText - Text string
to list