Message
(gb.qt4)
This
classe is used for displaying message boxes.
Simboli
Questa classe è statica.
Questa classe può essere usata come un
funzione.
All Message functions can have up to three buttons:
- The first button is always the default button.
- The last button is always the cancel button.
When invoked with only one argument, then there is only one "OK" button.
Message boxes are modal, i.e. the program is paused until one button is clicked.
When the message box is closed, the index of the clicked button is returned.
Esempio
PRINT Message("Program v0.3\\nVersion of 2006-03-28")
PRINT Message.Info("Program v0.3\\nVersion of 2006-03-28", "Fine")
PRINT Message.Warning("Your changes will be lost", "Save", "Ignore", "Cancel")