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!

ctooltip class tooltip baLloon in msflexgrid 2

Status
Not open for further replies.

sal21

Programmer
Apr 26, 2004
425
IT
If the cursor is on row 1 and col 9 the baloon appear...
But if i move the cursor on row 1 col 10 the new value dont change!!!!

note:
i need only if is present a picture in cell

Private Sub MSFlexGrid1_MouseMove(Button As Integer, Shift As Integer, _
X As Single, Y As Single)

With MSFlexGrid1
.Row = .MouseRow
.Col = .MouseCol
If .CellPicture <> 0 Then
If Not m_bInLable Then
m_bInLable = True
TT.Title = "TEST"
TT.TipText = "RIGA: " & .MouseRow & " COLONNA: " & .MouseCol
TT.Create Me.MSFlexGrid1.hwnd
End If
Else
m_bInLable = False
TT.Title = ""
TT.TipText = ""
TT.Destroy
End If
End With

End Sub
 
 https://files.engineering.com/getfile.aspx?folder=696a7535-6c96-42d9-8207-44739e378695&file=SCO.jpg
It is customary here on TT to mark the helpful post(s) with the Star so others may recognize which post(s) helped.

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top