VCL

THTMLLabel

A label with HTML formatting capabilities


Tips and Frequently Asked Questions

 How to use the design-time mini HTML editor at run-time


You can easily use the mini HTML design-time editor at run-time to allow users to edit the mini-HTML controls text at run-time. To allow this, use following steps : add the HTMLPROP unit to your project and add HTMLPROP to the uses clause in the unit from where you want to invoke the mini HTML editor. Add the following code to allow for example run-time editing of the content of a HTMLabel1 component :
var
  htmledit: THTMLEditor;
begin
  htmledit := THTMLEditor.Create(Self);

  try
    htmledit.memo1.lines.Text := htmlabel1.htmltext.Text;

    htmledit.ShowModal;

    htmlabel1.htmltext.Text := htmledit.memo1.lines.Text;

  finally
    htmledit.Free;
  end;
end;
A sample Delphi project with this code can be downloaded here (assuming the HTMLabel component is available on the component palette.


VCL

Single developer license


license for 1 developer
€ 150 yearly renewal *
€ 375


order now
add to cart

Small team license


license for 2 developers
€ 240 yearly renewal *
€ 600


order now
add to cart

Site license


unlimited developers in the company
€ 510 yearly renewal *
€ 1275


order now
add to cart

CreditCards and PayPal Accepted


Compatibility

    Delphi 7, 2007, 2010, 2009, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney, 11 Alexandria, C++Builder 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney, 11 Alexandria, DXE15, CXE15 (Professional/Enterprise/Architect)


Licensing

Bookmarks