AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Nota reposicionable
  • 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 Repositionable Note controls
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Manipulating Repositionable Note controls programmatically
Overview
A Repositionable Note control can be handled programmatically. To do so, use the variable of the Repositionable Note control in the code.
Specific functions can also be used to handle repositionable notes. For more details, see Repositionable Note functions.
This help page explains how to programmatically manipulate Repositionable Note controls.
Displaying an information in a Repositionable Note control
To display an information in a Repositionable Note control, a simple assignment is sufficient.
For example:
  • direct assignment:
    NOTE_NoteClient = "Client important"
  • assignment using a variable:
    NOTE_NoteClient = Note_Client
Remark: If the field is associated with an item in a data file, assignment is automatically performed using the FileToScreen function..
You also have the ability to use the following notation: "NOTE_CustomerNote = CUSTOMER.NOTE". For more details, see Binding a Repositionable Note control to an item.
Attention: The resizable Note field does not have a scrollbar. The text will be truncated if it exceeds the size of the repositionable note. The control size can be modified (with the Height and Width properties).
Retrieving the value displayed in a Repositionable Note control
To retrieve the content of a Repositionable Note control:
  • perform a simple assignment.
    For example:
    ContenuActuelNote = NOTE_NoteClient
  • use the Value property.
Remark: If the field is associated with an item in a data file, the value entered is automatically retrieved using the ScreenToFile function..
You also have the ability to use the following notation: "CUSTOMER.Note = NOTE_CustomerNote". For more details, see Binding a Repositionable Note control to an item.
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 context menu of the Note control or window.
You have the ability to force the export or import of the notes through 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: export only possible if note content has been modified.
Tip: To import and export all repositionable notes in a window, use functions NoteLoadAll and NoteSaveAll..
Properties specific to Repositionable Note controls
The following properties are specific to programmable Repositionable Note control.
AutomaticallyMinimizedThe AutomaticallyMinimized property is used to:
  • Find out the timeout before the Repositionable Note control is automatically minimized.
  • Define the timeout before the Repositionable Note control is automatically minimized.
MinimizedLa propiedad Minimized se utiliza para:
  • averiguar si se minimiza una nota reposicionable,
  • minimizar o restaurar una nota reposicionable.
For a complete list of WLanguage properties that can be used with Repositionable Note controls, see Repositionable Note control properties.
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local