ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / HTML Editor functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Inserts text or HTML code at the cursor position in an HTML Editor control.
Example
// Insère la date du jour en gras
EDHTML_MonEditeurHTML.Insère("<B>" + DateToString(DateSys()) + "</B>")

// Insère une émoticône sourire
EDHTML_MonEditeurHTML.Insère("<p style=""font-size:64px"">&#128512;</p>")
Syntax
<HTML Editor control>.Insert(<HTML to insert>)
<HTML Editor control>: Control name
Name of the HTML Editor control used.
<HTML to insert>: Character string
HTML text or code to insert at the cursor position.
Remarks
  • If any elements are selected in the HTML Editor control, this selection is deleted.
  • The user can undo the insert via the Undo option or by pressing Ctrl + Z.
  • The current insert position is returned by the Selection or Cursor properties.
Business / UI classification: UI Code
Component: wd300obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help