msflexgrid click events

davieboy_xr
04-18-2004, 05:04 PM
how can i make only certain cells of msflexgrid clickable and certain ones not?
And can i make the click event of the msflexgrid do different things..ie, could i pass the column number to click event?

Private Sub MSFlexGrid1_Click(msflexgrid1.textmatrix(lastrow,3))'allrows and certain column
'do something
End Sub

Private Sub MSFlexGrid1_Click(msflexgrid1.textmatrix(lastrow,4))'allrows and certain column
'do something
End Sub

davieboy_xr
04-18-2004, 05:20 PM
its ok i figured it out :)

Private Sub MSFlexGrid1_Click()
If MSFlexGrid1.Col = 3 Then
MsgBox "col 3"
End If
End Sub

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum