Configure formatted HTML textPascalC++procedure TForm1.ConfigureHTMLText;
begin
TMSFNCHTMLText1.Text := '<b>Status</b><br><font color="#1BADF8">Connected</font>';
TMSFNCHTMLText1.DisplayHTML := True;
TMSFNCHTMLText1.WordWrapping := True;
TMSFNCHTMLText1.HorizontalTextAlign := gtaLeading;
TMSFNCHTMLText1.VerticalTextAlign := gtaCenter;
end;
void __fastcall TForm1::ConfigureHTMLText()
{
TMSFNCHTMLText1->Text = "<b>Status</b><br><font color=\"#1BADF8\">Connected</font>";
TMSFNCHTMLText1->DisplayHTML = true;
TMSFNCHTMLText1->WordWrapping = true;
TMSFNCHTMLText1->HorizontalTextAlign = gtaLeading;
TMSFNCHTMLText1->VerticalTextAlign = gtaCenter;
}