Product, version and build: 2020 5.7.182
Operating system: Windows 10 / Windows Server 2019
PowerShell version(s): 5.1 build 18362
Hi all,
I used ToolTip Control but find out that I have to increase ShowDuration of each tooltip. I don't find out how to do it with Sapien Control.
So perhaps someone can help me to increase it ?
Example
.Net command
[System. Windows. Controls. ToolTipService] ::SetShowDuration( ?object? ,100000)
But I have to reference to .Net Object from Tooltip control. Any idea how this reference is called ?
Thanks for any idea.
kind regards,
Swing
ToolTip Control search for SetShowDuration
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.
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.
Re: ToolTip Control search for SetShowDuration
You may find the following article helpful:
https://www.sapien.com/blog/2014/01/30/ ... p-control/
https://www.sapien.com/blog/2014/01/30/ ... p-control/
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: ToolTip Control search for SetShowDuration
Hi Brittney
Sry, but this article NOT help. I am searching on a method how I can change the duration of showing the tooltip.
Like [System. Windows. Controls. ToolTipService] ::SetShowDuration
How I can do this with with your tooltip control ?
Thanks.
kind regards,
Mathias
Sry, but this article NOT help. I am searching on a method how I can change the duration of showing the tooltip.
Like [System. Windows. Controls. ToolTipService] ::SetShowDuration
How I can do this with with your tooltip control ?
Thanks.
kind regards,
Mathias
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: ToolTip Control search for SetShowDuration
The tooltip control is not "our" control. It is a standard Microsoft Windows Forms control, like all controls PowerShell Studio uses.
The class you mention applies to WPF not to Window Forms, so it does not apply.
This article may help you
https://docs.microsoft.com/en-us/dotnet ... esktop-4.8
Googling "Windows Forms extend tooltip time" brings up additional articles that may help.
The class you mention applies to WPF not to Window Forms, so it does not apply.
This article may help you
https://docs.microsoft.com/en-us/dotnet ... esktop-4.8
Googling "Windows Forms extend tooltip time" brings up additional articles that may help.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.