ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
  • Overview
  • How to?
  • Enabling the formatting toolbar for HTML controls
  • Feature available in AAF
  • Font used by default in the HTML toolbar
  • Using the HTML formatting toolbar
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 HTML edit control: Automatic formatting toolbar
Overview
In the HTML edit controls, a formatting toolbar can be automatically displayed as soon as the control becomes editable. Formatting options are then automatically managed.
How to?

Enabling the formatting toolbar for HTML controls

To enable the formatting toolbar for HTML controls:
  1. Open the description of an HTML edit control. The edit control is an "HTML text" control.
  2. In the "General" tab, indicate whether the control uses an HTML toolbar:
    Selecting the display mode of the formatting toolbar
    The " Toolbar settings... " button is used to select the options offered by the toolbar.
  3. Validate.

Feature available in AAF

In an HTML Edit control, the HTML toolbar is always visible or is automatically displayed (depending on the option selected in the "General" tab of the control description window).

Font used by default in the HTML toolbar

At runtime, the HTML toolbar is initialized with the font, size and font attributes specified in the control description. This font can be modified programmatically with the font properties.
Using the HTML formatting toolbar
Below is the default HTML bar:
This bar allows you to choose:
  • The font used and its size.
    New in version 28
    Remark: These options are also available as free-entry options.
  • The text-level semantics (div, h1, etc.).
  • The font characteristics (bold, underline, italic, strikethrough).
  • The font color.
  • The highlighting color.
  • The text alignment options.
  • The bullets and the numbering.
  • The right and left indents.
  • The subscript or superscript format.
  • The characteristics of links.
  • The characteristics of images.
New in version 28
You can also:
  • to insert arrays:
  • to choose the style of the inserted array.
  • display the HTML source code ().
Remark:
The colors available by default are the ones defined by the skin of the site. Simply click the desired color. This allows you to use consistent colors in the site.
Minimum version required
  • Version 15
Comments
Click [Add] to post a comment