PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • How to?
  • Customizing the system information windows
  • Stop customizing the system information windows
  • Tips
  • Multilingual dialog boxes
  • Creating multilingual dialog boxes
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
Your applications use several system dialog boxes? A specific skin template is used in your project? Why not customize these windows and give them the "appearance" of your application?
WINDEV and WINDEV Mobile allow you to easily integrate "WinDevxxxMessageBox" and "WinDevxxxDialogBox" windows in your applications. These windows are system information windows (dialog boxes) that can be customized and used in all your applications.
No code is required. When these windows are included in your project:
Reminder: By default, the dialog boxes displayed are standard dialog boxes that have the following characteristics:
  • gray background.
  • icon indicating the type of information displayed.
  • boutons standards.
For more details, see Dialog box.
Remark: The use of these windows allows you to display multilingual dialog boxes (images, caption of buttons, ...). By default, these windows support French, English, German, Spanish, Italian, Dutch and Portuguese. For more details, see "Multilingual dialog boxes".
How to?

Customizing the system information windows

To customize the system information windows:
  1. Open the project description window: on the "Project" tab, in the "Project" group, click "Description".
  2. Display the "Style" tab.
  3. Versions 22 and later
    Check "Customize system windows (Info, YesNo, Confirm, Dialog)" and validate.
    • WINDEV An internal component named "WDAAF" is automatically included in your project (if it does not already exist). This component contains the "WinDevMessageBox" and "WinDevDialogBox" windows.
    • WINDEV Mobile The two windows "WINDEVMOBILEDIALOGBOX" and "WINDEVMOBILEMESSAGEBOX" are automatically integrated in your project.
    • The skin template of your project is applied to these windows.
    New in version 22
    Check "Customize system windows (Info, YesNo, Confirm, Dialog)" and validate.
    • WINDEV An internal component named "WDAAF" is automatically included in your project (if it does not already exist). This component contains the "WinDevMessageBox" and "WinDevDialogBox" windows.
    • WINDEV Mobile The two windows "WINDEVMOBILEDIALOGBOX" and "WINDEVMOBILEMESSAGEBOX" are automatically integrated in your project.
    • The skin template of your project is applied to these windows.
    Check "Customize system windows (Info, YesNo, Confirm, Dialog)" and validate.
    • WINDEV An internal component named "WDAAF" is automatically included in your project (if it does not already exist). This component contains the "WinDevMessageBox" and "WinDevDialogBox" windows.
    • WINDEV Mobile The two windows "WINDEVMOBILEDIALOGBOX" and "WINDEVMOBILEMESSAGEBOX" are automatically integrated in your project.
    • The skin template of your project is applied to these windows.
These windows replace the standard system information windows (displayed by Warning, Confirm, Dialog, Error, Info, OKCancel, YesNo).

Stop customizing the system information windows

To cancel the customization of the system information windows:
  1. Open the project description window: on the "Project" pane, in the "Project" group, click "Description".
  2. Display the "Style" tab.
  3. Uncheck "Customize system windows (Info, YesNo, Confirm, Dialog)" and validate.
  4. Versions 23 and later
    Delete:
    • WINDEV the "WinDevMessageBox" and "WinDevDialogBox" windows from the internal component WDAAF ("Remove and delete from disk" in the context menu of the "Project explorer" pane). Also delete the internal component "WDFAA" if necessary (if it is empty).
    • WINDEV Mobile The two windows "WINDEVMOBILEDIALOGBOX" and "WINDEVMOBILEMESSAGEBOX" are automatically integrated in your project.
    New in version 23
    Delete:
    • WINDEV the "WinDevMessageBox" and "WinDevDialogBox" windows from the internal component WDAAF ("Remove and delete from disk" in the context menu of the "Project explorer" pane). Also delete the internal component "WDFAA" if necessary (if it is empty).
    • WINDEV Mobile The two windows "WINDEVMOBILEDIALOGBOX" and "WINDEVMOBILEMESSAGEBOX" are automatically integrated in your project.
    Delete:
    • WINDEV the "WinDevMessageBox" and "WinDevDialogBox" windows from the internal component WDAAF ("Remove and delete from disk" in the context menu of the "Project explorer" pane). Also delete the internal component "WDFAA" if necessary (if it is empty).
    • WINDEV Mobile The two windows "WINDEVMOBILEDIALOGBOX" and "WINDEVMOBILEMESSAGEBOX" are automatically integrated in your project.
  5. If necessary, delete the files corresponding to the "WinDevxxxMessageBox" and "WinDevxxxDialogBox" windows from your project directory.

Tips

  • Do not modify the code of the "WinDevxxxMessageBox" and "WinDevxxxDialogBox" windows, nor the code of their fields.
  • Don't delete any control.
  • If you add fields to the "WinDevxxxMessageBox" and "WinDevxxxDialogBox" windows, no code should be associated to these fields.
  • Limit the style modifications applied to the windows and to their controls, and test all these modifications.
Multilingual dialog boxes

Creating multilingual dialog boxes

To create multilingual dialog boxes:
  1. Customize the system information windows (see the previous paragraph).
  2. Type the multilingual captions of different buttons in their description window ("Description" in the context menu).
  3. Select the multilingual images of different Image controls in their description window ("Description" in the context menu).
  4. Use multilingual character strings (Ctrl + T) in the syntax of Warning, Confirm, Dialog, Error, Info, OKCancel, YesNo.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment