|

D i a l og s


image

Dialog

OverviewPaneDialogActions

A dialog is very similar to a page and can contain a variety of items such as text, images or radio buttons. While pages are shown in the main window of your application, dialogs are separate windows that can be opened on top of your application window.


image

Dialogs can be shown using the DialogEx.Show action, and closed using the DialogEx.Close action.


Note: You cannot navigate pages when a dialog is visible, nor can you show another instance of a dialog if it is already visible. You can however show a dialog from a dialog.


Note: Dialogs and pages are the "surfaces" that objects can be placed on.


When you click on the dialog surface, the dialog settings are displayed in the properties pane. Double- clicking on the dialog surface opens the Properties dialog for the dialog.


image

Tip: You can switch between dialogs and pages by clicking on their tabs at the top of the work area, or by double-clicking on any page or dialog in the project explorer. By default, dialog tabs are shown to the right of page tabs, however this can be changed on the Tabs preference (Edit > Preferences, Environment > Tabs).


image


image

Tip: You can change the order of the dialogs in your project through the Organize Dialogs dialog (Dialog > Arrange).


image

Dialog

OverviewPaneDialogActions


A dialog is very similar to a page and can contain a variety of items such as text, images or radio buttons. While pages are shown in the main window of your application, dialogs are separate windows that can be opened on top of your application window.


image

Dialogs can be shown using the DialogEx.Show action, and closed using the DialogEx.Close action.


Note: You cannot navigate pages when a dialog is visible, nor can you show another instance of a dialog if it is already visible. You can however show a dialog from a dialog.


Note: Dialogs and pages are the "surfaces" that objects can be placed on.


When you click on the dialog surface, the dialog settings are displayed in the properties pane. Double- clicking on the dialog surface opens the Properties dialog for the dialog.


image

Tip: You can switch between dialogs and pages by clicking on their tabs at the top of the work area, or by double-clicking on any page or dialog in the project explorer. By default, dialog tabs are shown to the right of page tabs, however this can be changed on the Tabs preference (Edit > Preferences, Environment > Tabs).


image


image

Tip: You can change the order of the dialogs in your project through the Organize Dialogs dialog (Dialog > Arrange).


Dialog


OverviewPaneDialogActions

image

Here are the dialog's settings as they appear in the properties pane:


D i a log


Name


The unique name that is used to identify this dialog.


UseCustomSettings


Setting this value to true will allow you to change the look of your dialog background. If this value is

image

false, the dialog background will be the default background color for windows applications.


Note: If you skin your application, the default background color will come from your skin file.


Note: if this value is set to true, the BackgroundStyle, BackgroundImage, ImageStyle, BackgroundColor and GradientColor settings will be ignored.


|