PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV and WINDEV Mobile 26 feature!
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
The Body property is used to identify and modify the HTML body of an HTML Display control or an HTML Editor control.
Example
// Edit the description of the item
Item.Description = HTM_Browser.Body
HModify(Item)
Syntax

Identifying the HTML body of an HTML Display control or an HTML Editor control Hide the details

<Result> = <Control used>.Body
<Result>: Character string
Body HTML code.
<Control used>: Control name
Name of control to use:
  • HTML Display control.
  • HTML Editor control.

Modifying the HTML body of an HTML Display control or an HTML Editor control Hide the details

<Control used>.Body = <New value>
<Control used>: Control name
Name of control to use:
  • HTML Display control.
  • HTML Editor control.
<New value>: Character string
New HTML body code.
Remarks
  • The Body property is used to modify only the body of the HTML code in the control, without modifying its header. This makes it possible to keep CSS style sheets loaded, for example.
  • If the option to link data to the body is enabled, the Body property will be used by the FileToScreen and ScreenToFile functions.
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment