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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid Problem

Status
Not open for further replies.

hannec

Programmer
Mar 22, 2004
37
BE
Hi,

i'am using VFP7

I have a grid in a form with 10 columns. How can i move the slider to the right? I want to do this in the init of the form.

Thanks
 
Thanks Mike.

As a non professional programmer, could you explain, please.

Thanks
 
Hannec,

Picking up on Mike's reply, the following line of code in your init event will do what you want:
Code:
THISFORM._fGRID1.ActivateCell(1,2)
...replace _fGRID1 with the name of your grid object.


Hope that helps,

Stewart
PS If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hannec,

Also note Marcia's solution which will do the same as Mike's & mine, but without selecting the cell.

There's usually more than one way to do things!

Stewart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top