Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2007-11-19
1
Medium Priority
?
631 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

926 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