Tooltip on datagridview control not shown

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Post Reply
ericvanvoorthuizen
Posts: 2
Joined: Tue Jun 25, 2019 8:26 am

Tooltip on datagridview control not shown

Post by ericvanvoorthuizen »

Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.179
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0

I managed to use tooltips for controls other then the datagridview via https://www.sapien.com/blog/2014/01/30/ ... p-control/
But when using same procedure on a datagridview control the tooltip doesn't show up when hovering over the control.

jvierra
Posts: 14544
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Tooltip on datagridview control not shown

Post by jvierra »

You will have to write custom code to manage tooltips on a DGV.

ericvanvoorthuizen
Posts: 2
Joined: Tue Jun 25, 2019 8:26 am

Re: Tooltip on datagridview control not shown

Post by ericvanvoorthuizen »

Thanks for the quick reply, but when searching and trying code to manage it without the Sapien Tooltip-control I experienced the same issue.
While searching other fora someone suggested to set DGV's ShowCellToolTips property to False and that worked.

User avatar
Lembasts
Posts: 310
Joined: Thu Mar 15, 2012 9:47 am

Re: Tooltip on datagridview control not shown

Post by Lembasts »

jvierra wrote:
Sat Sep 12, 2020 1:17 am
You will have to write custom code to manage tooltips on a DGV.
Its all in the documentation :-)
https://docs.microsoft.com/en-us/dotnet ... etcore-3.1

Post Reply