Gambas provides you with two dialogue classes from two different components with which you can call dialogue boxes and further use their return values in the program.
The class has these properties:
The Dialog class (gb.qt4) contains static methods for calling standard dialogue boxes from the QT4 toolkit:
A 'default dialogue box' is always the dialogue box specified by the toolkit currently in use.
The extended standard dialogues class contains methods for calling the gambas-specific dialogue boxes. This class is static. The class extends the Dialog class in gb.qt4.
The Dialog class has the following properties:
The class has these methods:
As long as the specification of the following two dialogue properties from the Dialogue class (gb.form.dialog) is dispensable in your projects and you call the 'DateChooser' control directly instead of the 'SelectDate' method and and you want the appearance of the standard dialogues to be specified by the toolkit, then you can dispense with the use of the gb.form.dialog component:
The dialogues in gb.form.dialog are written in Gambas. Thus their appearance is independent of the toolkit used.