PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Displaying an information in a Repositionable Note control
  • Retrieving the value displayed in a Repositionable Note control
  • Forcing the export or import of notes
  • Properties specific to the Repositionable Note controls
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
Handling a Repositionable Note control by programming
Overview
A Repositionable Note control can be handled by programming. To do so, use the variable of Repositionable Note control in the code.
Versions 22 and later
Specific functions can also be used to handle repositionable notes. See Repositionable Notes functions for more details.
New in version 22
Specific functions can also be used to handle repositionable notes. See Repositionable Notes functions for more details.
Specific functions can also be used to handle repositionable notes. See Repositionable Notes functions for more details.
This help page explains how to handle a Repositionable Note control by programming.
Displaying an information in a Repositionable Note control
To display an information in a Repositionable Note control, a simple assignment is sufficient.
Some examples:
  • direct assignment:
    NOTE_CustomerNote = "Important customer"
  • assignment by variable:
    NOTE_CustomerNote = Note_Customer
Note: If the control is associated with a file item, the assignment is automatically performed by using FileToScreen.
You also have the ability to use the following notation: "NOTE_CustomerNote = CUSTOMER.NOTE". See Linking a Repositionable Note control to an item for more details.
Caution: The Repositionable Note control includes no scrollbar. The text will be truncated if it exceeds the size of the repositionable note. The control size can be modified (..Height and ..Width).
Retrieving the value displayed in a Repositionable Note control
To retrieve the content of a Repositionable Note control:
  • perform a simple assignment.
    For example:
    CurrentNoteContent = NOTE_CustomerNote
  • use ..Value.
Note: If the control is associated with a file item, the value typed is automatically retrieved by using ScreenToFile.
You also have the ability to use the following notation: "CUSTOMER.Note = NOTE_CustomerNote". See Linking a Repositionable Note control to an item for more details.
Forcing the export or import of notes
The user can import or export the notes (found in the window or in the application) in a "wdnotes" extension file via the popup menu of the Note control or window.
You have the ability to force the export or import of the notes by programming with AAFExecute:
  • the aafExportNote constant is used to force the export of the notes found in the specified window. The user must select the file containing the notes.
  • the aafImportNote constant is used to force the import of the notes. The user must select the file containing the notes.
Caution: the export can be performed only if the content of the note was modified.
Versions 22 and later
Tip: To import and export all the repositionable notes found in a window, use NoteLoadAll and NoteSaveAll.
New in version 22
Tip: To import and export all the repositionable notes found in a window, use NoteLoadAll and NoteSaveAll.
Tip: To import and export all the repositionable notes found in a window, use NoteLoadAll and NoteSaveAll.
Properties specific to the Repositionable Note controls
The following properties are used to manage the characteristics of a Repositionable Note control by programming.
Versions 21 and later
AutomaticallyMinimized
New in version 21
AutomaticallyMinimized
AutomaticallyMinimized
..AutomaticallyMinimized is used to:
  • Find out the time-out before the repositionable note is automatically minimized.
  • Define the time-out before the repositionable note is automatically minimized.
Versions 21 and later
Minimized
New in version 21
Minimized
Minimized
..Minimized is used to
  • find out whether a repositionable note is minimized,
  • minimizing or restoring a repositionable note.
To find out the entire list of WLanguage properties that can be used with a Repositionable Note control, see Properties associated with the Repositionable Note control.
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment