ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Automatic Application Features (AAF)
  • Overview
  • Repositionable notes: Available features
  • Creating a repositionable note
  • Configuring a repositionable note
  • Implementation and configuration
  • Enabling the repositionable notes
  • Disabling the repositionable notes
  • Activation and deactivation through programming
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
End users can create repositionable notes in all the windows of their WINDEV applications. This Automatic Application Feature is available by default.
Repositionable notes: Available features

Creating a repositionable note

To create a repositionable note:
  1. Right-click to open the context menu of the window.
  2. Select "Repositionable notes .. Create a repositionable note".
  3. The repositionable note appears in the current window. You can position it anywhere in the window and type the text of the note.
    Remark: You can paste text into the note (Ctrl + V).
By default, the repositionable note has the following characteristics:
  • Note text in red.
  • Medium size for the note text.
  • Background color of note colored in yellow.
  • Creation day displayed in the note (Today). This date will be adjusted over time (for example: 3 days ago, etc.).
  • Automatic reduction: Whenever the window is displayed, the note is displayed during 10 seconds then it is automatically reduced (in the upper-right corner of the window).

Configuring a repositionable note

The context menu of the repositionable note allows you to configure this note.
The available options are as follows:
  • Modify note text: The input cursor is displayed at the end of note text for modification.
    Remark: To modify the text of the note, you also have the ability to click the note directly.
  • Minimize: This option is used to minimize the note. The note is positioned as a thumbnail in the upper-right corner of the window.
    A click on the square icon is used to restore the note to its initial dimension.
  • Minimize automatically: If this option is selected, the note will be displayed when opening the window and it will be automatically reduced after 5 seconds (if it was not modified).
  • Background color: This option is used to customize the background color of the note.
  • Text color: This option is used to customize the text color.
  • Text size: This option is used to customize the text size.
  • Delete note: This option is used to delete the note. In this case, the note will not be displayed anymore. The deletion can be undone by pressing Ctrl + Z.
  • Export notes of this window: This option is used to create a "wdnote" file in the specified directory. The file name proposed by default corresponds to the window name. This option is used to save the notes associated with the window. The exported notes are not deleted from the window.
  • Export all notes of the application: This option is used to create a "wdnote" file in the specified directory. The file name proposed by default corresponds to the application name. This option is used for example to save the notes of the application. The exported notes are not deleted from the application.
  • Import notes: This option is used to import a "wdnote" file into the application. This window can contain the notes of a window as well as the ones of the application. The notes found both in the application and in the file will not be modified, the notes found in the file only will be added into the application.
Implementation and configuration

Enabling the repositionable notes

By default, repositionable notes are available for users of applications compiled with version 21 (and later), for all windows that use the AAF (Automatic Application Features) context menu. This feature is linked to the modification of UI by the end user.
To enable the repositionable notes in the project:
  1. Open the project description window: on the "Project" tab, in the "Project" group, click "Description".
  2. Make sure the end user is allowed to modify the UI and that the notes are available:
    1. In the "Advanced" tab, click (if necessary) "Allow end users to modify the UI" or click "Options" to see the options.
    2. In the window that appears:
      • check whether the default options are used,
      • if specific options are defined, the options for managing the repositionable note must be checked.
  3. Make sure the context menu of the "Repositionable notes" project is enabled at the project level:
    1. In the "Advanced" tab, click "AAF menu".
    2. In the windows that is opened, select the "Window" element: the "Repositionable notes" option must be enabled.
To enable the repositionable notes in a window:
  1. Open the window description ("Description" in the context menu).
  2. Make sure the end user is allowed to modify the UI and that the notes are available:
    1. In the "Details" tab, click (if necessary) "Allow end users to modify the UI" or click "Options" to see the options.
    2. In the window that appears:
      • check whether the default options are used,
      • if specific options are defined, the options for managing the repositionable note must be checked.
  3. Make sure the context menu of the "Repositionable notes" project is enabled at the window level:
    1. In the "UI" tab, expand the "Context menu" option. Check "Display AAF menu", and then click "Settings".
    2. In the window that is opened, the "Repositionable notes" option must be enabled.

Disabling the repositionable notes

You can disable the ability to use repositionable notes:
  • for the entire project, by disabling the repositionable notes in the AAF menu:
    1. Open the project description window: on the "Project" tab, in the "Project" group, click "Description".
    2. In the "Advanced" tab, click "AAF menu".
    3. In the windows that is opened, select the "Window" element and disable the "Repositionable notes" option.
  • for a window, by disabling the repositionable notes in the AAF menu:
    1. Open the window description.
    2. In the "UI" tab, go to the options of the context menu and click "Parameters".
    3. In the windows that is opened, disable the "Repositionable notes" option.
Remark: You also have the ability to disable the options regarding the repositionable notes in the configuration window of the UI modification by the end user, for the entire project or for the windows.

Activation and deactivation through programming

To disable the repositionable notes, use AAFDisable associated with the aafRepositionableNote constant.
To disable or enable repositionable notes in a window through programming, you can also use the WinEditMode property with the weAddRepositionableNote constant:
MyWindow.WinEditMode = weAddRepositionableNote
This property gets and sets all the actions allowed for end users when the "Allow end users to modify the UI" option is enabled.
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 03/21/2023

Send a report | Local help