Solved

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

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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 …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

740 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