Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

15 Experts available now in Live!

Get 1:1 Help Now