 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Lawrence Tuppen Guest
|
Posted: Sat Nov 13, 2004 3:42 pm Post subject: RichEdit to scroll or not to scroll |
|
|
I have a RichEdit filling a Page of a PageControl on a Form.
I want to know if the data in the RichEdit is all visible on screen,
or if there is more yet to see. Then I can set a warning background
colour when necessary.
"if (Form1->VertScrollBar->Range>RichEdit1->ClientHeight)"
does NOT work. My (faulty?) logic says that the Range should be
positive and bigger than ClientHeight but it is zero! I can only
assume that windows has dynamically created some extra scroll bar.
But what does work?
--
Lawrence Tuppen
Email: [email]TUPPENL (AT) mailaps (DOT) org[/email] Web: http://homepage.ntlworld.com/tuppenl
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|