Page 1 of 1

[Solved] Notification panel icon

Posted: Sunday 9th May 2021 7:22pm
by AndyGable
Hi Everyone,

Does anyone know how to show a icon in the notification. Area of the task bar? Or if someone
Knows of a website with examples I would be most
Grateful .

Thanks

Andy

Re: Notification panel icon

Posted: Sunday 9th May 2021 10:16pm
by BruceSteers
http://gambaswiki.org/wiki/comp/gb.gui.trayicon

That should help 😎

Theres possibly examples on he farm.

Re: Notification panel icon

Posted: Monday 10th May 2021 12:49am
by AndyGable
BruceSteers wrote: ↑Sunday 9th May 2021 10:16pm http://gambaswiki.org/wiki/comp/gb.gui.trayicon

That should help 😎

Theres possibly examples on he farm.
Thank-you Bruce

There are no examples that I could find on the farm but at least this has given me a head start

Re: Notification panel icon

Posted: Monday 10th May 2021 2:02pm
by cogier
The code below should do the trick.
There are at least 3 examples on the Farm. Alarm_Timer, FileTidy and Analogue_clock.
''needs gb.gui.trayicon

TrayIcon1 As TrayIcon

Public Sub Form_Open()

  With TrayIcon1 = New TrayIcon
    .Picture = Picture["icon:/256/emote-cool"]
    .show
  End With

End

Re: Notification panel icon

Posted: Monday 10th May 2021 6:43pm
by AndyGable
cogier wrote: ↑Monday 10th May 2021 2:02pm The code below should do the trick.
There are at least 3 examples on the Farm. Alarm_Timer, FileTidy and Analogue_clock.
''needs gb.gui.trayicon

TrayIcon1 As TrayIcon

Public Sub Form_Open()

  With TrayIcon1 = New TrayIcon
    .Picture = Picture["icon:/256/emote-cool"]
    .show
  End With

End

Opps I was looking for notification examples lol

Thanks for the sample code I'll have a play with that latter today. Thanks once again.