Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot see controls on a scrollable form
Message
From
10/01/2013 01:46:56
 
 
To
09/01/2013 14:18:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01561884
Message ID:
01562007
Views:
63
>Thank you very much.
>I modified your code (horizontal scrolling instead of vertical), and it works fine on simple example like yours.
>But controls I place on my form are highly complicated (custom class based on command button group), and it takes forever to scroll.

Right.
If you can ...
put a Container into the form Named VirtualPanel.
VirtualPanel.Top = 0
VirtualPanel.Width = 1.000.000 && the max dimension for the object righmost
VirtualPanel.Trasparent = True

Move all from's members into VirtualPanel on the original x,y

At this point you can replace the For Controls cycle with a single set
VirtualPanel.Left = VirtualPanel.Left - m.deltaLeft
Previous
Reply
Map
View

Click here to load this message in the networking platform