Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Annoying scrolling on Grid

Status
Not open for further replies.

diem

Programmer
Jul 25, 2001
28
US
Is there a way to keep a grid from adding an extra column and row on the right side and bottom? For example, if my table has 4 colums and contains 10 records, I want the grid to stay locked on those records without scrolling around. I tried turning off the scroll bars but the grid still moves to show an extra blank column and row. Thanks.
 
HI
Adjust the width property suitably so that the entire columns are visible in the Grids face. This will stop the horizontal scrolling. As for the vertical scrolling, if all the rows are visible, the same is true as in horizontal scroll. BUT ARE YOU SURE TO LIMIT THE ROWS?

If MyGrid.AllowAddNew = .f. then extra rows will not be added if the user pushes the down arrow key past the last row. If this is what you are looking for, you can set that in the property of the grid.

ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top