Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Paul Brown
  
 York
 
 Paul Brown
 To: chris smith
  Where is chris smith?
 Yorkshire CH CH
 Barbados
 chris smith
 Tags
Subject: RE: grid columns
Thread ID: 219 Message ID: 221 # Views: 5 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Friday, May 18, 2001 2:45:58 AM         
   


> I have a grid with about 10 columns. I would like that went I'm scrolling to the right or left that the first 3 columns in the grid remains stationary and the orther columns would move. Can any one tell me how to achieve this?
> smith

I've generally found the easiest way to do this with a VFP grid is to use 2 grids. The first will have the fixed 3 columns with no vertical scroll bar and the second will have all the columns with the first 3 hidden (i.e. width set to 0). You just need to co-ordinate the grids with a bit of code so that when you move to a new row in one it goes to the same row in the other.

HTH
Paul

ENTIRE THREAD

grid columns Posted by chris smith @ 5/18/2001 12:59:11 AM
RE: grid columns Posted by Paul Brown @ 5/18/2001 2:45:58 AM
RE: grid columns Posted by Al Klapperich @ 5/18/2001 9:11:19 AM