PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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 by programming
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
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, the repositionable notes are available for users of applications compiled with version 21 (and later), for all windows that use the context menu of AAFs (Automatic Application Features). 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" pane, 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) "UI modification by end user" or click "Options" to see the options.
    2. In the window that is displayed:
      • 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 "Menu of AAF".
    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) "UI modification by end user" or click "Options" to see the options.
    2. In the window that is displayed:
      • 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 "Popup menu". Check "Display the menu of AAF" then click "Parameters".
    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 menu of AAFs:
    1. Open the project description window: on the "Project" pane, in the "Project" group, click "Description".
    2. In the "Advanced" tab, click "Menu of AAF".
    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 menu of AAFs:
    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 by programming

To disable the repositionable notes, use AAFDisable associated with the aafRepositionableNote constant.
To disable or enable repositionable notes by programming on a window, you can use WinEditMode associated with the constant weAddRepositionableNote:
MyWindow.WinEditMode = weAddRepositionableNote
This property allows you to know and modify all the actions allowed in the mode "Modification of UI by the end user".
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment