|
|
|
|
|
- Overview
- Sticky 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 programmatically
Repositionable note (AAF)
End users can create repositionable notes in all the windows of their WINDEV applications. This Automatic Application Feature is available by default.
Sticky notes: Available features Creating a repositionable note To create a repositionable note: - Right-click to open the context menu of the window.
- Select "Repositionable notes .. Create a repositionable note".
- The repositionable note appears in the current window. You can position it anywhere in the window and type the text of the note.
Note: Text can be pasted 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 change over time (for example: 3 days ago, ...)..
- Automatic reduction: Each time the window is displayed, the note is shown for 10 seconds and then automatically reduced (top right of 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 then displayed at the end of the note text for modification.
Note: To modify the note text, you can also click directly in the note displayed. - Reduce: This option allows you to reduce 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. - Automatically reduce: If this option is selected, the note will be displayed when the window opens and will be automatically reduced after 5 seconds (if it has not been modified)..
- Background color: This option allows you to customize the background color of the note..
- Text color This option lets you customize the color of note text.
- Text size This option lets you customize the size of the note text.
- Delete note: This option deletes the note.. In this case, the note will not be displayed anymore. The deletion can be undone by pressing Ctrl + Z.
- Export notes from this window: This option creates 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 application notes: This option creates 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 lets you 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: - Open the project description window. To do so, go to the "Project" tab, "Project" group, and click "Description".
- Make sure the end user is allowed to modify the UI and that the notes are available:
- On the "Advanced" tab, click (if necessary) "Allow end users to modify the UI" or click "Options" to see the options.
- 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.
- Make sure the context menu of the "Repositionable notes" project is enabled at the project level:
- On the "Advanced" tab, click "AAF menu".
- In the window that opens, select the "Window" item: the "Repositionable notes" option must be enabled.
To enable the repositionable notes in a window: - Open the window description ("Description" option in the context menu).
- Make sure the end user is allowed to modify the UI and that the notes are available:
- On the "Details" tab, click (if necessary) "Allow end users to modify the UI" or click "Options" to see the options.
- 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.
- Make sure the context menu of the "Repositionable notes" project is enabled at the window level:
- On the "UI" tab, expand the "Context menu" option. Check "Display AAF menu", and then click "Settings".
- In the window that opens, 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:
- Open the project description window. To do so, go to the "Project" tab, "Project" group, and click "Description".
- On the "Advanced" tab, click "AAF menu".
- In the window that opens, select the "Window" item and deactivate the "Repositionable notes" option..
- for a window, by disabling the repositionable notes in the AAF menu:
- Open the window description.
- On the "UI" tab, go to the options of the context menu and click "Parameters".
- In the windows that is opened, disable the "Repositionable notes" option.
Note: It is also possible to deactivate the options for repositionable notes in the configuration window for end-user modification of the UI, both for the project and for windows.. Activation and deactivation programmatically 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|