How to fetch cell value in MsFlex Grid in vb6.0? URGENT
-
Dear All, Could any body give me the line code for the given query. 1. If I am clicking mouse button on Row 1 column 3 then it will show in Msgbox "selected Column 3" 2. If I am clicking mouse button on Row 1 column 4 then it will show in Msgbox "selected Column 4" .........so on. Thanks Ashish
-
Dear All, Could any body give me the line code for the given query. 1. If I am clicking mouse button on Row 1 column 3 then it will show in Msgbox "selected Column 3" 2. If I am clicking mouse button on Row 1 column 4 then it will show in Msgbox "selected Column 4" .........so on. Thanks Ashish
-
Private Sub MSFlexGrid1_Click()
MsgBox CStr(MSFlexGrid1.Colsel)
End Sub
:)
I are Troll :suss:
Hi, The below code return 0 ,Even I click on 1,2.3 ...soon column
Private Sub MSFlexGrid1_Click()
MsgBox CStr(MSFlexGrid1.Colsel)
End SubThanks Ashish
-
Hi, The below code return 0 ,Even I click on 1,2.3 ...soon column
Private Sub MSFlexGrid1_Click()
MsgBox CStr(MSFlexGrid1.Colsel)
End SubThanks Ashish
Ashish Kumar Vyas wrote:
The below code return 0 ,Even I click on 1,2.3 ...soon column
Ah, the selection isn't there yet when you click it, so one would have to check what column the mouse is on;
Private Sub MSFlexGrid1_Click()
MsgBox CStr(MSFlexGrid1.mousecol)
End SubThat should fix it :)
I are Troll :suss: