Recent

Author Topic: How to display HTML5 and CSS3 content in Lazarus?  (Read 5233 times)

Jvan

  • Full Member
  • ***
  • Posts: 181
How to display HTML5 and CSS3 content in Lazarus?
« on: June 16, 2021, 09:18:03 pm »
And can TMemoRich be used to create HTML5 and CSS3 content? I would like to save it in a memo field in my database.
« Last Edit: June 16, 2021, 09:25:19 pm by Jvan »

Edson

  • Hero Member
  • *****
  • Posts: 1195
Re: How to display HTML5 and CSS3 content in Lazarus?
« Reply #1 on: June 17, 2021, 08:05:57 pm »
Do you refer to edit text in HTML5 and CSS3 format or view a HTML page from HTML5 and CSS3?

To edit HTML5 or CSS3 or any syntax, the best is using Synedit (like Lazarus do) or ATSynedit.
Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

Leledumbo

  • Hero Member
  • *****
  • Posts: 8352
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: How to display HTML5 and CSS3 content in Lazarus?
« Reply #2 on: June 17, 2021, 09:11:53 pm »
If what you mean is saving formatted TRichMemo concent as HTML5 and CSS3 AFAIK no, TRichMemo uses the so called Rich Text Format, which is a distinct format from HTML5 and CSS3. In theory of course a formatter for HTML5 and CSS3 can be made based on the same internal tree or whatever data structure that TRichMemo uses.

Jvan

  • Full Member
  • ***
  • Posts: 181
Re: How to display HTML5 and CSS3 content in Lazarus?
« Reply #3 on: June 18, 2021, 01:15:41 am »
A WYSIWYG HTML Editor is what I'm looking for.

Soner

  • Full Member
  • ***
  • Posts: 240
Re: How to display HTML5 and CSS3 content in Lazarus?
« Reply #4 on: June 18, 2021, 08:43:58 am »
Use Chromium-Browser from CEF4Delphi and set the web page in edit modus or load ckeditor or similar in a frame.

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 986
Re: How to display HTML5 and CSS3 content in Lazarus?
« Reply #5 on: June 18, 2021, 09:30:21 am »
hello,
on which operating system do you want to run your project ?
Friendly, J.P
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

egsuh

  • Hero Member
  • *****
  • Posts: 783
Re: How to display HTML5 and CSS3 content in Lazarus?
« Reply #6 on: June 18, 2021, 11:51:56 am »
Quote
A WYSIWYG HTML Editor is what I'm looking for.

You should use MS-Word etc. for that purpose. HTML editor shows all the html tags as are.

 

TinyPortal © 2005-2018