Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrolling left and right in a grid -- text box to follow
Message
From
02/08/2006 16:49:53
 
 
To
02/08/2006 10:18:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01142403
Message ID:
01142533
Views:
8
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform