ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Windows functions that can be handled by the end user
  • Characteristics of Repositionable Note control
  • 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 through programming.
Example
NOTE_MyNote is Control
NOTE_MyNote <- WinEdCreateNote(MyWindow, "New note")
NOTE_MyNote.BackgroundColor = LightBlue
Syntax
[<Result> <- ] WinEdCreateNote(<Window> , <Initial text> [, <X> [, <Y>]])
<Result>: Control variable
The created Note control can be handled by a Control variable. In this case, values must be assigned with the '<-' operator.
If WinEdCreateNote is directly used, the Note control is created in the window and it is visible by default.
<Window>: Window name
Name or alias of window where the Note control will be created.
If this parameter is not specified or if it corresponds to an empty string (""), the Note control will be created in the current window.
<Initial text>: Character string
Text displayed in the Note control.
<X>: Optional integer
X-coordinate of Note control to create (position on the X-axis) in pixels. Horizontal position of the upper-left corner of the control, relative to the upper-left corner of the window's client area (i.e. the window without title bar, menu bar or borders). This parameter corresponds to the XInitial property.
If this parameter is not specified, the X-coordinate of Note control corresponds to the X position of the mouse.
This value can be changed with the X property.
<Y>: Optional integer
Y-coordinate of Note control to create (position on Y-axis) in pixels. Vertical position of the upper-left corner of the control, relative to the upper-left corner of the window's client area (i.e. the window without title bar, menu bar or borders). This parameter corresponds to the YInitial property.
If this parameter is not specified, the Y-coordinate of Note control corresponds to the Y position of the mouse.
This value can be changed with the Y property.
Remarks

Characteristics of Repositionable Note control

  • The creation can be canceled by Ctrl + Z.
  • Once created, the Repositionable Note control created is persistent: if the window is closed and then re-opened, the note will be restored.
    To create a non-persistent Note control, use ControlCreate associated with the constant typRepositionableNote.
  • The Repositionable Note control will be saved during the call to the functions:

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).
  • Used to create a Repositionable Note control in the current window, this function is equivalent to NoteCreate.
Component: wd290obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help