Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrollbar limit?
Message
From
22/07/1999 05:49:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00244188
Message ID:
00244585
Views:
17
>>>Have a form with a scrollbar on it. When trying to place objects below 1536 (as a top) it just doesn't seem to work. Any known limitations to how far down on a form objects can be placed so the scrollbar will get to them?
>>
>>Hi Steve - there've been several threads on this, I'm not sure if anyone came up with a great solution, but you might try searching here over the past few months...
>
>Thanks, I'll do a search, to lazy. Haven't been around much lately, little busy with new house, two kids going to college and of course, software.
>
>Steve
Steve,
I bet your screen resolution is 1024*768 :) According to MS KB, those scrollbars were designed to support up to about *2 of resolution. That's any control with left * 2 > horizontal or top * 2 > vertical resolution causes scrollbars to vanish. Workaround is the hard question. MS simply says do not do it :) If you weren't lazy <g> I would say you could try tracing scroll events plus arrow movements to mimic a scroll (but we are not in DOS days anymore and I wouldn't do it too:). A dummy and hard workaround (but works) is to use grid instead of a form with scrollbar (VFP5 doesn't have form scrollbar:). Idea is to create a dummy cursor with enough records (dummy) to hold all form height and width (ie: if form would be screen*9 than 9-10 recs) and design a container for each. Dynamiccurrentcontrol would decide which one to show. Of course you shouldn't expect a smooth scroll but blocks of pages.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform