ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Repositionable Note functions
  • Characteristics of repositionable note
  • Equivalences
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
Creates a Repositionable Note control in the curernt window through programming.
Example
// Creates a colored Repositionable Note control
NewNote is Control
NewNote <- NoteCreate("Note your remarks here")
NewNote.BackgroundColor = GetColor()
Syntax
<Result> = NoteCreate([<Note text> [, <X> [, <Y>]]])
<Result>: Control variable
The created Repositionable Note control can be handled by a Control variable. In this case, values must be assigned with the '<-' operator.
If NoteCreate is used directly, the control is created in the window and is visible by default.
<Note text>: Optional character string
Text to display in the Repositionable Note control.
<X>: Optional integer
X-coordinate of Repositionable Note control to create (position on the X-axis) in pixels. Horizontal position of the upper-left corner of Repositionable Note control in relation to the upper-left corner of the window client area (which means the window without title bar, menu bar and border). This parameter corresponds to the XInitial property.
If this parameter is not specified, the X-coordinate of control is set to 0.
This value can be changed with the X property.
<Y>: Optional integer
Y-coordinate of Repositionable Note control to create (position on Y-axis) in pixels. Vertical position of the upper-left corner of Repositionable Note control in relation to the upper-left corner of the window client area (which means the window without title bar, menu bar and border). This parameter corresponds to the YInitial property.
If this parameter is not specified, the Y-coordinate of control is set to 0.
This value can be changed with the Y property.
Remarks

Characteristics of repositionable note

  • The creation can be canceled by Ctrl + Z.
  • The created repositionable note is a persistent note: if the window is closed and then re-opened, the note will be restored.
    To create a non-persistent note, use ControlCreate associated with the typRepositionableNote constant.
  • All the repositionable notes found in the window can be saved and restored by NoteLoadAll and NoteSaveAll.

Equivalences

  • This function is equivalent to a note created in the window by the end user via AAF (Automatic Application Feature). For more details, see Repositionable note (AAF).
  • This function is equivalent to WinEdCreateNote used to create a note in the current window.
Component: wd290obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help