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

flexgrid

Status
Not open for further replies.

vlitim

Programmer
Sep 2, 2000
393
0
0
GB
when you use the mouse to select a row/column in a flexgrid is it possible to remove that after an event. ie when they click on row 4 col 5 I want the selection to go to 1,1??

is this possible?

Cheers Tim
 
Sure,

In the correct event, after you handle it you just set the Row and col properties to what ever you want them to be. For example:

Private Sub grd_Click()

With grd
MsgBox "Click @ " & .Row & ", " & .Col
.Row = 1
.Col = 1
End With

End Sub


No mattger what row,col is clicked, focus will be set back to row 1, column 1.

Hope that is what you were looking form
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top