PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Characteristics of repositionable note
  • Equivalences
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
Creates a Repositionable Note control in the curernt window by programming.
Example
// Creates a colored Repositionable Note control
NewNote is Control
NewNote <- NoteCreate("Note your remarks here")
NewNote..BrushColor = 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, the assignment must be performed with the '<-' operator.
If NoteCreate is used directly, the control is created in the window and it is visible by default.
<Note Text>: Optional character string
Text to display in the Repositionable Note control.
<X>: Optional integer
X coordinate of the Repositionable Note control to create (position on the X axis) in pixels. Horizontal position of the top left corner of Repositionable Note control in relation to the top left corner of the client area of window (which means the window without title bar, menu bar and border). This parameter corresponds to ..XInitial.
If this parameter is not specified, the X coordinate of control is set to 0.
Then, this value can be modified by ..X.
<Y>: Optional integer
Y coordinate of the Repositionable Note control to create (position on the Y axis) in pixels. Vertical position of the top left corner of Repositionable Note control in relation to the top left corner of the client area of window (which means the window without title bar, menu bar and border). This parameter corresponds to ..YInitial.
If this parameter is not specified, the Y coordinate of control is set to 0.
Then, this value can be modified by ..Y.
Remarks

Characteristics of repositionable note

  • The creation can be canceled by CTRL+Z.
  • The created repositionable note is a persistent note: the note will be restored when the window is closed then re-opened.
    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 by AAF (Automatic Application Feature) in the window by the end user. See Repositionable note (AAF) for more details.
  • This function is equivalent to WinEdCreateNote used to create a note in the current window.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment