TTMSFNCHTMLEditor

This component is part of the set. However there is absolutely no documentation on this...

It seems to be a component that needs to be connected to something...

This is one of those very badly or not documented components. Proper documentation would help enormously!

The TTMSFNCHTMLEditor is a component for editing HTML, and the code to use it is simple: Assign text, execute it, manipulate HTML, click OK or Cancel and then assign the text back to the component or property you are manipulating. Below is a sample that demonstrates this on the Text property of a TTMSFNCButton. It is also registered at designtime for editing properties that accept HTML formatted text.




procedure TForm1.TMSFNCButton1Click(Sender: TObject);
begin
  TMSFNCHTMLEditor1.Text := TMSFNCButton1.Text;
  if TMSFNCHTMLEditor1.Execute = mrOK then
    TMSFNCButton1.Text := TMSFNCHTMLEditor1.Text;
end;

Pieter Scheldeman2020-04-16 09:40:17
From the manuals page: https://www.tmssoftware.com/site/manuals.asp
https://download.tmssoftware.com/download/manuals/TMSFNCRichEditorDevGuide.pdf

Bruno Fierens2020-04-16 09:42:49

Thanks, will give it a try.

This works!

Lazarus and linux

LCL component 

TTMSFNCButton not insert text

TMSFNCButton1.Text := 'OK'
Button not view 'OK'
view blan

We'll investigate this here as soon as possible.

Hi we have tested this here and couldn't see an issue with the HTML editor and the code



uses
  LCLTMSFNCHTMLEditor;


procedure TForm1.TMSFNCButton1Click(Sender: TObject);
var
  ed: TTMSFNCHTMLEditor;
begin
  ed := TTMSFNCHTMLEditor.Create(Self);
  try
    ed.Text := TMSFNCButton1.Text;
    if ed.Execute = mrOK then
      TMSFNCButton1.Text := ed.Text;
  finally
    ed.Free;
  end;
end;      


Please show us a sample that reproduces this.

Today i installed the latest version and the same problem is still present.
TMSFNCUIPack v3200 - 22.09.2020

Hi,

TMS FNC UI Pack v3.2.2.0

There is still the same problem.

Yes, we are aware, the issue is not yet fixed because of technical issues. We are still investigating. If the issue is fixed in a next update, this will be mentioned in the version history.