Solved

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

Posted on 2013-10-30
4
459 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now