PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The HTMLAfter property is used to get and change the HTML code inserted after the control.
Remark: The HTML code generated after the control can be entered in the "Advanced" tab of the description window of the control.
Example
// Modify the style of a button dynamically
BTN_DynButton.HTMLBefore = "<DIV style=""..."">"
BTN_DynButton.HTMLAfter = "</DIV>"
Syntax

Finding out the HTML content inserted after the control Hide the details

<HTML content> = <Control used>.HTMLAfter
<HTML content>: Character string
HTML content inserted after the control.
<Control used>: Control name
Name of the control to be used.

Modifying the HTML content inserted after the control Hide the details

<Control used>.HTMLAfter = <HTML content>
<Control used>: Control name
Name of the control to be used.
<HTML content>: Character string
HTML content inserted after the control.
Remarks
This property is available on all controls after which HTML code can be inserted. This property is not available for the following controls:
  • HTML control,
  • Table control.
  • Looper control.
  • Versions 18 and later
    TreeView Table control.
    New in version 18
    TreeView Table control.
    TreeView Table control.
Related Examples:
HTMLBefore and HTMLAfter Unit examples (WEBDEV): HTMLBefore and HTMLAfter
[ + ] This example explains how to use the ..HTMLBefore and ..HTMLAfter properties. This example allows you to:
- Enter the HTML code
- View the result immediately
Minimum version required
  • Version 12
Comments
Click [Add] to post a comment