Solved

Hover over cell in Flex Grid - display a small window of more information

Posted on 2007-11-19
1
614 Views
Last Modified: 2012-05-05
I have a flex grid that contains a bunch of data per each employee.

I'd like to be able to hover over one of these cells that contains information and pop up a simple window with more information regarding the employee.

How would I be able to do this?
0
Comment
Question by:samic400
1 Comment
 
LVL 48

Accepted Solution

by:
jpaulino earned 500 total points
ID: 20313066
You can use the tooltip to show additional information.

If you have a different field on any place (maybe a name or ID on the left) you can do.

Private Sub MSFlexGrid1_MouseMove(...)
Dim oldtxt As String
Dim newtxt As String

newtxt = MSFlexGrid1.TextMatrix(MSFlexGrid1.MouseRow,1)

If newtxt <> oldtxt Then
  MSFlexGrid1.ToolTipText = "Text to display: "  & newtxt
  oldtxt = newtxt
Else
  MSFlexGrid1.ToolTipText  = ""
End If

End Sub
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA/SQL - Connect to SQL server and pull data 4 119
Access query that references subform 5 47
vb6 connector to mongodb 2 122
pop out of webbrowser1 control vba6 5 26
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question