Could TRichEdit substitute for a local browser?
Posted: Sun Jul 28, 2019 9:04 pm
I have a project that a prototype was created as a webpage, but ran into the problem that the TBrowser control in C++ Builder only allows 1 instance in each project and this needs to be multiple pages, each with their own browser. The fundamental requirements are:
- Works like an unlimited length document (i.e., like a web page, but doesn't need all the overhead like web communications, data to fill in the browser is actually coming from a local database)
- Has to allow multiple pages, each page with its own document, changing between pages keeps the last shown location within the document when returning to the page (again, like a general web browser that has multiple pages open)
- able to format documents with what would look multi-column tables without borders, word-wrapping within each cell and setting the height of cells dynamically to the tallest cell in each row (like an HTML TD)
- each cell can have multiple text formatting (like a mixture of various fonts within a single cell)
- at various points in the document, a button appears rather than multiple rows of the document. When the button is pressed, the button is hidden and the rows of text are unhidden. (In the prototype, this was done with javascript changing the visibility of a block of text and the button. This sounds like what I am reading your Actions do?)
Would TRichEdit do all the above? Any short samples that demo some or all the above?
- Works like an unlimited length document (i.e., like a web page, but doesn't need all the overhead like web communications, data to fill in the browser is actually coming from a local database)
- Has to allow multiple pages, each page with its own document, changing between pages keeps the last shown location within the document when returning to the page (again, like a general web browser that has multiple pages open)
- able to format documents with what would look multi-column tables without borders, word-wrapping within each cell and setting the height of cells dynamically to the tallest cell in each row (like an HTML TD)
- each cell can have multiple text formatting (like a mixture of various fonts within a single cell)
- at various points in the document, a button appears rather than multiple rows of the document. When the button is pressed, the button is hidden and the rows of text are unhidden. (In the prototype, this was done with javascript changing the visibility of a block of text and the button. This sounds like what I am reading your Actions do?)
Would TRichEdit do all the above? Any short samples that demo some or all the above?