Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot see controls on a scrollable form
Message
De
10/01/2013 01:46:56
 
 
À
09/01/2013 14:18:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01561884
Message ID:
01562007
Vues:
64
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform