Gambas Documentation - /comp/gb.form.dialog/dialog

# Dialog (gb.form.dialog)

This class contains static methods used for calling Gambas-specific dialog boxes.

This class reimplements Dialog in gb.qt4.
This class is static.

Static properties | Static methods
--- | ---

Return or set if the file extension is automatically set in the save file dialog.
AutoExt
Returns or sets the color chosen in the color standard dialog.
Color
Returns or sets the date chosen in the DateChooser.
Date
Returns or sets the filters used by the control for only displaying specific file types.
Filter
Return or set if the font dialog only shows fixed fonts.
FixedOnly
Returns or set the font chosen in the font standard dialog.
Font
Returns or sets the file path chosen in the file standard dialog.
Path
Returns an array of the selected file paths chosen in the file standard dialog.
Paths
Return or set if the standard file dialog displays hidden files.
ShowHidden
Returns or sets the title of the next standard dialog that will popup.
Title

Calls the file standard dialog to get the name of a file to open.
OpenFile
Calls the file standard dialog to get the name of a file to save.
SaveFile
Calls the color standard dialog.
SelectColor
Calls the DateChooser to get a date.
SelectDate
Calls the file standard dialog to get an existing directory name.
SelectDirectory
Calls the font standard dialog.
SelectFont