PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
  • Overview
  • How to proceed?
  • Implementation
  • Retrieving the modifications
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
In a WINDEV application, users can add a tooltip on the controls.
Thus, if the tooltip proposed by default is not ideal, they can change it.. Furthermore, they can even add a tooltip if there is none.
Reminder: The button tooltip is defined in the "Help" pane of the control description window ("Tooltip" option).
How to proceed?
To modify the control tooltip, the user can:
  • Select "Edit the tooltip" from the popup menu of control.
Popup menu of control
The tooltip text is displayed in modification.
Tooltip text
  • Use the interface customization:
    • Switch to modification mode ("Customize the interface .. Switch to modification mode" from the window popup menu).
Modification mode
  • Select the control and select "Edit the tooltip" from the popup menu of control.
Popup menu of control
  • The tooltip text is displayed in modification.
Tooltip text
Remarks:
  • If the tooltip is modified by the developer (application update), the customization is deleted.
  • In a multilingual application, the tooltip customization is performed for all languages.
  • The tooltip customization is ignored for some types of controls: Map, HTML, ActiveX, Cube, ...
  • For Check Box and Radio Button controls, the tooltip customization affects the tooltip of control (and not the tooltip of options).
  • To communicate the modifications performed to the developer, all yo have to do is create a ".wdmodif" export file. This file will contain all interface modifications performed in the window. To create this file:
    • Display the popup menu and select "Customize the interface .. Export the customization of this window" or "Customize the interface .. Export all the customizations of the application".
    • Modify (if necessary) the name of created file and validate.
    • Transfer the file to the developer.
Implementation
Tooltip modification at runtime is a feature linked to interface modification at runtime (see UI modifiable by the end user for more details). From version 21, this option is automatically proposed in the applications created or compiled with version 21.
To configure this option:
  1. Choose whether the option must be configured for the project or for the window:
    • for the project. This option will be taken into account for all project windows:
      1. Open the project description window: on the "Project" pane, in the "Project" group, click "Description".
      2. In the "Advanced" tab, check "UI modification by end user" if necessary.
    • for each window. This option will be taken into account for the selected window only:
      1. Open the window description ("Description" from the window popup menu).
      2. In the "Details" tab, check "UI modification by end user" if necessary.
  2. The "Options" button is used to specify the authorized options.
  3. To allow tooltip modification, "Modify the tooltip" must be checked in the options defined for the project, or in the specific options of the window or project.
    If this option is unchecked, the end user will not be able to modify the tooltip of controls.
Remarks:
  • If the tooltip modification is enabled, you have the ability to disable the direct option for some types of controls ("Edit the tooltip" option available in the popup menu of control), for the project or for the window controls. See Configuring the popup menu of AAFs for more details. The user will have to use the "Interface customization" mode to modify the tooltip of controls.
  • To disable or enable the modification of tooltips by programming on a window, you have the ability to use ..WinEditMode associated with the weChangeTooltip constant:
    MyWindow..WinEditMode = weChangeTooltip
Retrieving the modifications
To retrieve the modifications of tooltips (as well as the other interface modifications) performed by the end user, all you have to do is open the "wdmodif" extension file in WINDEV:
  • by performing a "Drag and Drop" of file in the editor.
  • by selecting "Open": On the "Home" pane, in the "General" group, expand "Open", click "Open", and select the file.
The window that is displayed lists the different modified windows as well as the modification performed.
Simply select the requested modifications to apply them to the corresponding windows.
Remarks:
  • The corresponding project must be opened in the editor.
  • If the window to modify is not opened in the editor, WINDEV opens the window, applies the modifications, saves and closes the window.
  • If the window to modify is opened in the editor, WINDEV applies the modifications to the window. The modifications are not saved and they can be undone (Ctrl + Z).
Minimum version required
  • Version 21
Comments
Video Tooltip
https://youtu.be/8vhjtOvjugM

https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1992-windev-comandos-33.html
amarildo
23 Jan. 2019