PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
Your applications are using 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 allows you to easily include the "WinDevMessageBox" and "WinDevDialogBox" 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 are standard dialog boxes that have the following characteristics:
  • gray background.
  • icon indicating the type of information displayed.
  • standard WINDEV buttons.
See Dialog box for more details.
Note: 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. See "Multilingual dialog boxes" for more details.
How to proceed?

Customizing the system information windows

To customize the system information windows:
  1. In WINDEV, display the description window of project ("Project .. Project description").In WINDEV, display the description window of project: on the "Project" pane, in the "Project" group, click "Description".
  2. Display the "Style" tab.
  3. Check "Apply the theme of skin template to the system windows" and validate.
    • The "WinDevMessageBox" and "WinDevDialogBox" windows are automatically included in your application.
    • The skin template of your project is applied to these windows.
    Versions 23 and later
    Check "Customize the system windows (Info, YesNo, Confirm, Dialog)" and validate.
    • 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.
    • The skin template of your project is applied to these windows.
    New in version 23
    Check "Customize the system windows (Info, YesNo, Confirm, Dialog)" and validate.
    • 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.
    • The skin template of your project is applied to these windows.
    Check "Customize the system windows (Info, YesNo, Confirm, Dialog)" and validate.
    • 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.
    • 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. In WINDEV, display the description window of project ("Project .. Project description").In WINDEV, display the description window of project: on the "Project" pane, in the "Project" group, click "Description".
  2. Display the "Style" tab.
  3. Uncheck "Apply the theme of skin template to the system windows" and validate.Uncheck "Customize the system windows (Info, YesNo, Confirm, Dialog)" and validate.
  4. Delete the "WinDevMessageBox" and "WinDevDialogBox" windows from your project:
    • from the project graph,
    • from the "Project explorer" pane.
    Versions 23 and later
    Delete
    • the "WinDevMessageBox" and "WinDevDialogBox" windows from the internal component WDAAF ("Remove and delete from disk" from the popup menu of project explorer).
    • the internal component "WDAAF" if necessary (if it is empty).
    New in version 23
    Delete
    • the "WinDevMessageBox" and "WinDevDialogBox" windows from the internal component WDAAF ("Remove and delete from disk" from the popup menu of project explorer).
    • the internal component "WDAAF" if necessary (if it is empty).
    Delete
    • the "WinDevMessageBox" and "WinDevDialogBox" windows from the internal component WDAAF ("Remove and delete from disk" from the popup menu of project explorer).
    • the internal component "WDAAF" if necessary (if it is empty).
  5. Delete (if necessary) the files corresponding to the "WinDevMessageBox" and "WinDevDialogBox" windows from the directory of your project.

Tips

  • Do not modify the code of the "WinDevMessageBox" and "WinDevDialogBox" windows (or the code of their controls).
  • Don't delete any control.
  • If controls are added to the "WinDevMessageBox" and "WinDevDialogBox" windows, no code must be associated with these controls.
  • 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. Enter the multilingual captions of the different buttons in their description window ("Description" from the popup menu).
  3. Select the multilingual images of the different Image controls in their description window ("Description" from the popup menu).
  4. Use multilingual character strings ([Ctrl]+[T]) in the syntax of Warning, Confirm, Dialog, Error, Info, OKCancel, YesNo.
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment