PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Characteristics of Repositionable Note control
  • 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 by programming.
Example
NOTE_MyNote is Control
NOTE_MyNote <- WinEdCreateNote(MyWindow, "New note")
NOTE_MyNote..BrushColor = 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, the assignment must be performed 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 (with quotes)
Text displayed in the Note control.
<X>: Optional integer
X coordinate of Note control to create (position on X axis) in pixels. Horizontal position of top left corner of 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 Note control corresponds to the X position of the mouse.
Then, this value can be modified by ..X.
<Y>: Optional integer
Y coordinate of Note control to create (position on Y axis) in pixels. Vertical position of top left corner of 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 Note control corresponds to the Y position of the mouse.
Then, this value can be modified by ..Y.
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). See Repositionable note (AAF) for more details.
  • Used to create a Repositionable Note control in the current window, this function is equivalent to NoteCreate.
Component : wd240obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment