trichview.support
Re: Scrolling with tables |
Author |
Message |
Sergey Tkachenko |
Posted: 12/21/2004 17:40:26 > I have tried the following methods/properties but they don't seem to give > the correct result: > Height of viewable area: TRichViewEdit.Height ?? More exactly, TRichViewEdit.ClientHeight (Height includes borders and horizontal scrollbar) > Height of table cell: TCustomRVFormattedData.GetHeight ?? Yes, excluding CellPadding (both top and bottom). Document must be formatted, otherwise this value is undefined. Coordinates of the top left corner of cell (relative to the top left corner of scrollable area) are returned by cell.GetOriginEx(x,y) You can use this y as a parameter of RichViewEdit.ScrollTo(y) > > Thanks for any help, > Paul. > |
Powered by ABC Amber Outlook Express Converter