|
|
|
|
|
- Overview
- How to?
- Using the "system" windows with Automatic Application Features (AAFs)
- Customizing the system information windows
- Tips
- Multilingual dialog boxes
- Creating multilingual dialog boxes
Customizing the system information windows (or dialog boxes)
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 use: - System windows.
System windows with AAFs. Remark: Starting with version 28 U1 (version 280075), this feature is available by default for new projects. - Custom windows, integrated into the project:
- "WINDEVMESSAGEBOX" and "WINDEVDIALOGBOX" (WINDEV projects).
- "WINDEVMOBILEMESSAGEBOX" and "WINDEVMOBILEDIALOGBOX" (WINDEV Mobile projects).
These windows are system information windows (dialog boxes) that can be customized and used in all your applications.
Remarks: - By default, in a new project (version 28 and later):
system dialog boxes are used. dialog boxes use AAFs.
- The characteristics of system dialog boxes are:
- gray background.
- icon indicating the type of information displayed.
- standard buttons.
- By integrating custom windows into the project, you can create multilingual dialog boxes (images, button labels, etc.). By default, these windows support French, English, German, Spanish, Italian, Dutch and Portuguese. For more details, see "Multilingual dialog boxes".
Customizing the system information windows To customize the system information windows:- Open the project description window: on the "Project" tab, in the "Project" group, click "Description".
- Display the "Style" tab.
If you use WINDEV: - In "Info, YesNo, Confirm, and Dialog system windows (WINDEV configurations)", select "Custom (integrated into the project)".
- 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.
If you use WiINDEV Mobile: - Check "Customize Info, YesNo, Confirm, and Dialog system windows (Android and iOS configurations)".
- validate. An internal component named "WMFAA" is automatically integrated into your project (if necessary). This component contains the "WINDEVMOBILEDIALOGBOX" and "WINDEVMOBILEMESSAGEBOX" windows. The skin template of your project is applied to these windows.}
Remark: to no longer use custom windows: - Change the options in the project description to use non-custom windows.
- Delete the windows that correspond to the message boxes of the internal component ("Remove and delete from disk" in the context menu of the "Project explorer" pane).
- If necessary, delete also the "WDAAF" or "WMAAF" internal component (if empty).
- If necessary, delete the files corresponding to the "WINDEVxxxMESSAGEBOX" and "WINDEVxxxDIALOGBOX" windows from the project directory.
Tips - Do not modify the code of the "WINDEVxxxMESSAGEBOX" and "WINDEVxxxDIALOGBOX" windows, nor the code of their controls.
- Don't delete any control.
- If you add controls to the "WINDEVxxxMESSAGEBOX" and "WINDEVxxxDIALOGBOX" windows, make sure there is no code associated with those controls.
- Limit changes to the style of windows and their controls, and test all changes made.
Multilingual dialog boxes Creating multilingual dialog boxes To create multilingual dialog boxes: - Customize the system information windows (see the previous paragraph).
- Type the multilingual captions of different buttons in their description window ("Description" in the context menu).
- Select the multilingual images of different Image controls in their description window ("Description" in the context menu).
- Use multilingual character strings (Ctrl + T) in the syntax of Warning, Confirm, Dialog, Error, Info, OKCancel, YesNo.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|