PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..HTMLBefore used to find out and modify the HTML code added before the control.
Note: The HTML code generated before 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 before the control Hide the details

<HTML Content> = <Control Name>..HTMLBefore
<HTML Content>: Character string
Content inserted before the control.
<Control Name>: Character string (with or without quotes)
Name of control to use.

Modifying the HTML content inserted before the control Hide the details

<Control Name>..HTMLBefore = <HTML Content>
<Control Name>: Character string (with or without quotes)
Name of control to use.
<HTML Content>: Character string (with quotes)
Content inserted before the control.
Remarks
This option is available for all the controls that include an HTML code that can be inserted before. 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