HTML support
Posted: Tue Sep 11, 2012 2:59 am
I am currently using the former David Baldwin's THTMLViewer component, but since it is no longer supported, I am considering switching to an alternative.
I have download the trial components, but I fail to find any demo project that shows what TRichView is capable of doing with respect to HTML documents. Am I simply overlooking a demo?
I am looking for a component that will:
I have download the trial components, but I fail to find any demo project that shows what TRichView is capable of doing with respect to HTML documents. Am I simply overlooking a demo?
I am looking for a component that will:
Code: Select all
1) Display HTML from either an existing file or on-the-fly within the application: E.g., DisplayThisHTMLNow('<html><body>testing 123</body></html>');
2) Supports mouse wheel scrolling
3) Can display <a href> hyperlinks without underlining them.
4) Provides the URL of a hyperlink via an event when the mouse hovers over the hyperlink.
5) Can adjust the top/bottom/side margins using a property value
6) Can provide information about the text and/or tags that are nearest to the top of the component. IOW, if a HTML file is loaded, and the user scrolls halfway down the document where on the top visible line there is a <tag>, can one retrieve information about either that top visible line and/or the tags on that line?
7) Can a change be made to an already loaded HTML file, such as inserting a pair of <b></b> tags around a word, and then redrawing the document without causing the document to jump to the beginning? IOW, if the user has scrolled halfway through the document, and I wish to on-the-fly change a word so as to emphasize/bold it, can this be done? IOW, make the word appear bold on-the-fly, without causing the vertical scroll position to be reset to 0?