Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll bars and custom statusbar
Message
 
 
To
07/04/2004 07:16:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00892853
Message ID:
00892858
Views:
25
Hi Grigore,

I think it's ViewPortHeight Property you're looking for.

>Hello, everyone
>
>I have a custom statusbar in my forms - it's a container with a shape and a label. In Resize() event I resize the shape, keeping it on the bottom of the form. If the form has .ScrollBars = 3 (both) and the user resizes the form, making it smaller and thus forcing the scrollbars to appear, the shape is moved at the bottom of visible part of the form. The problem is when the user scrolls the form, the shape do not move at the bottom. I could move it if I'd know the height of the visible part of the form. However, I was unable to find such propriety. Does anyone knows how to find that info?
>
>I am thinking to do some math with form's height, form's title bar height, scrollbar size and find the info, but maybe it's a better way.
>
>Thank you.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform