Jump to content

jerik

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by jerik

  1. jerik

    Snippets Manager for Windows?

    MassCode? https://masscode.io
  2. procedure TForm2.FormCreate(Sender: TObject); var HTML: string; begin // HTML := TResourceStream.Create(HInstance, 'index', RT_RCDATA).ToString(); HTML := '<!DOCTYPE html> <html lang="en">' + '<head> <meta charset=utf-8> ' + '<title>Test</title><style>body {background:red;}</style> ' + '</head><body> ' + '<h1>TEST</h1> <p>Dette er en tekst!</p> ' + '</body> </html>'; WebBrowser1.LoadFromStrings(HTML, ''); end; Hi! I have a resourcefile with a HTML-file that I want to load in a FireMonkey TWebBrowser. This is what I have tried and not succeed with:
  3. jerik

    User Drawing of Lines and Curves

    Great discussion!
  4. jerik

    Load HTML from string in TWebBrowser in Firemonkey

    Aha! Bad idea to place it in Form.Create. Thank you!
×