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

START mycode if on clck on msflexgrid 1

Status
Not open for further replies.

2009luca

Programmer
Jul 27, 2013
221
0
16
IT
START mycode if i clck only on col= 0 and row is between the row=1 at to the and of list

for eamxple i have 23 row

start code if i click between row 1 and row 23
 
We've shown you on more than one occasion how to detect the row and column you are clicking in on an MSFlexgrid. Here's one more example:

Code:
[COLOR=blue]Private Sub MSFlexGrid1_Click()
    Debug.Print MSFlexGrid1.Col, MSFlexGrid1.Row
    Debug.Print MSFlexGrid1.MouseCol, MSFlexGrid1.MouseRow [COLOR=green]' different results from .Col and .Row IF you have a fixed header or fixed row[/color]
End Sub[/color]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top