Greetings,
Is there a way to test if the scrollbar is presently on? As in available and visible due to text.
I want to increase a richview.height by using richview.documentheight + scrollbar height.
How to know if the RichView is showing a scrollbar
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How to know if the RichView is showing a scrollbar
The simplest way is to compare richview.Height and richview.ClientHeight.
Height = ClientHeight + border + horizontal scrollbar height.
Height = ClientHeight + border + horizontal scrollbar height.
Re: How to know if the RichView is showing a scrollbar
Excellent thank you