ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Dialog Box functions
  • Overview
  • Generated code
  • Question
  • Directive questioning
  • Message database
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
When typing a new message intended to the end user, WINDEV or WINDEV Mobile automatically displays the following window.
Editing a question
Editing a question with input
This window allows you to configure:
  1. The image of dialog box. This image can be a preset image or a specific image, accessible from your computer.
  2. The text of the question, in the different languages of the project.
  3. The different buttons displayed in the dialog box.
    • The "Add" button is used to add a button.
    • The "Delete" button is used to delete the selected button.
    • The "Find" button is used to search for an answer among the existing ones.
    • The arrow buttons are used to move the selected button.
  4. The characteristics of selected button:
    • Caption of button in the different languages: By default, the caption of buttons is automatically using the verb found in the question.
    • Return value. This value is used to define the action that will be performed when the button is clicked.
    • Validation button: The button is used to validate the dialog box
    • Cancel button: This button is used to cancel the dialog box.
  5. The characteristics of the edit control can be defined when typing directive questions.
Generated code

Question

When a question is typed, the following code is automatically generated:
WLanguage code of the question
If the function name does not correspond to Dialog, it is automatically replaced according to the selected options.
The code comments are used to easily process the different cases.

Directive questioning

When a question is typed, the following code is automatically generated:
WLanguage code of question with input
If the function name does not correspond to Input, it is automatically replaced according to the selected options.
The code comments are used to easily process the different cases.
Caution: The name of the variable that will be used to store the value typed by the user must be passed as parameter to Input.
Message database
WINDEV and WINDEV Mobile propose a list of messages. These messages cannot be deleted.
All new messages are automatically added to the message database. By default, the message database is in the "\Personal\Message" subdirectory of WINDEV or WINDEV Mobile.
This subdirectory can be changed in the options of the IDE used:
  1. On the "Home" tab, in the "Environment" group, expand "Options" and select "General options of xxx".
  2. Display the "Directories" tab.
To delete a message from the database of messages:
  1. Display the code editor.
  2. On the "Code" tab, in the "Languages" group, expand "Translate strings" and select "Directive questions".
  3. Select the message to delete and click Delete icon.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/06/2023

Send a report | Local help