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!

tooltip on msflexgrid for each cell 1

Status
Not open for further replies.

Periko

Programmer
Feb 24, 2003
134
0
0
BE
Hello,

I'm playing with the msflexgrid. It's filled with some data, but data is too large to show in a cell completely.

I'm trying to have this flexgrid showing the content of the cell while moving over by showing a tooltiptext. It should work like that without having to click on the cell.

If I clicked on a cell, it is working, but not while moving the mouse to another cell.
Can anyone helps me starting this thing ?

Kind regards...
Pedro...
 
I did the same for a list box.
See thread222-912603.

Before that strongm wrote code for combo box.
See thread222-816072.

You can use the same idea to do it for a FlexGrid control.
 
I haven't checked the links provided, but did you try:
Code:
Private Sub MSFlexGrid1_[blue]MouseMove[/blue](Button As Integer, Shift As Integer, x As Single, y As Single)

With MSFlexGrid1
    .ToolTipText = .TextMatrix(.MouseRow, .MouseCol)
End With

End Sub
Works for me like a charm.

Have fun.

---- Andy
 
BBB III NNN GGG OOO !!!

As simple as hell !!

Thk you very much !

Kind regards...
Pedro...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top