trichview.support
Re: DocumentHeight Question |
Author |
Message |
Sergey Tkachenko |
Posted: 06/27/2002 15:52:28 It is because of rounding off error. Vertical scrollbar unit is larger than pixel. Add VSmallStep to height: RichViewEdit1.ClientHeight := RichViewEdit1.DocumentHeight+RichViewEdit1.VSmallStep; Or just hide vertical scrollbar (VScrollVisible) > It says in the help that DocumentHeight includes TopMargin and BottomMargin. > However, if I size the Height of my RichView control to DocumentHeight, it > seems that I need to add TopMargin and BottomMargin for it not to have > scrollbars. Sometimes I even need to add a couple of pixels to stop it > from scrolling. Why, I don't know. > > Mark DeMichele > > > > |
Powered by ABC Amber Outlook Express Converter