Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling left and right in a grid -- text box to follow
Message
De
02/08/2006 16:49:53
 
 
À
02/08/2006 10:18:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01142403
Message ID:
01142533
Vues:
9
This will get you started...

In the scrolled event of your grid add this:
LPARAMETERS nDirection

IF nDirection > 3  
   THISFORM.MyTextboxToMove.MOVE(OBJECTTOCLIENT(THIS.ColumnToLineUpOn, 2))
	
ENDIF
Of course you'll need to decide how to handle boundary conditions, etc.

HTH

Bruce

>I have a grid that allows the user to scroll right and left. I want to have text boxes at the bottom of the grid that contain totals for the columns. Is there a way to make the text box move with the grid when it scrolls?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform