trichview.com

trichview.support




Scrolling with tables


Return to index


Author

Message

Paul B

Posted: 12/20/2004 13:46:45


Hi, I'm using RichView version 1.8. I need scroll the main window so that

text selections within a table cell are in view in the same way as selections

made in the outer TCustomRVFormattedData.


I can scroll correctly to the top of the selection, but ensuring the entire

selection is visible (if possible) means I need to know the height of the

viewable area and the height of the selection area in pixels. It would be

enough to know the height of the table cell containing the selection in fact.


I have tried the following methods/properties but they don't seem to give

the correct result:

Height of viewable area: TRichViewEdit.Height ??

Height of table cell: TCustomRVFormattedData.GetHeight ??


Thanks for any help,

Paul.





Powered by ABC Amber Outlook Express Converter