Page 1 of 1

The NotifyIcon Control - how do i apply the icon?

Posted: Wed Nov 16, 2022 11:30 pm
by lontru
https://info.sapien.com/index.php/guis/ ... on-control

I use this to set the tooltip text

$tooltip1.SetToolTip($textbox_SoftwareTesting, "Tooltip text")

How do i apply the info icon to above tooltip on the $textbox_SoftwareTesting button
chrome_c0x4fQScc8.png
chrome_c0x4fQScc8.png (14.99 KiB) Viewed 1982 times

Re: The NotifyIcon Control - how do i apply the icon?

Posted: Thu Nov 17, 2022 12:22 am
by jvierra
Just follow the instructions. The name of the icon is all that is needed.

$tooltip1.ToolTipIcon = 'Error'

Re: The NotifyIcon Control - how do i apply the icon?

Posted: Thu Nov 17, 2022 4:45 am
by lontru
so if i want to have different icon i have to create new tooltip*

Re: The NotifyIcon Control - how do i apply the icon?

Posted: Thu Nov 17, 2022 2:24 pm
by jvierra
I thought that was what you were doing. That is the code you posted. How else would you be using a tooltip?