PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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 by 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 Repositionable Note control to create (position on X axis) in pixels. Horizontal position of top left corner of Repositionable Note control in relation to the top left corner of window client area (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 Repositionable Note control to create (position on Y axis) in pixels. Vertical position of top left corner of Repositionable Note control in relation to the top left corner of window client area (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 in the window by the end user via AAF (Automatic Application Feature). See Repositionable note (AAF) for more details.
  • This function is equivalent to WinEdCreateNote used to create a note in the current window.
Component : wd250obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment