Solved

Help with viewing all Text in DataGridView on mousemove using VB.NET

Posted on 2013-10-30
4
466 Views
Last Modified: 2013-11-03
Hi,

When I place the mouse on a cell of my Grid, is their a way to see all the text in text, similar to intellisense feature?

Thanks,

Victor
0
Comment
Question by:vcharles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Assisted Solution

by:Ioannis Paraskevopoulos
Ioannis Paraskevopoulos earned 250 total points
ID: 39613481
This is the default behavior. If this isn't true in your case please check 'ShowCellToolTips' property of your DataGridView. If this is set to true, you will get what you want.

Giannis
0
 

Author Comment

by:vcharles
ID: 39619767
ShowCellToolTips is set to True but when I place the mouse on a row I still don't see the text from the cell in a separate box.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 250 total points
ID: 39619902
Are you hovering over a cell that has its text truncated? Tooltip is only shown if one of following conditions is true


The value of the DataSource property is not Nothing or the value of the VirtualMode property is true, and a handler for the CellToolTipTextNeeded event sets the DataGridViewCellToolTipTextNeededEventArgs.ToolTipText property to a value other than String.Empty.
The ToolTipText property of the cell has a value other than String.Empty. Setting this property has no effect when there is a CellToolTipTextNeeded event handler because getting the value of the property automatically raises the event and returns the ToolTip text specified in the event handler.
The cell value is truncated in the cell display. When the value of the cell ToolTipText property value is String.Empty, the full value of the truncated cell value is displayed in the ToolTip.
0
 

Author Closing Comment

by:vcharles
ID: 39620315
Thank You.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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