[Solved] Notification panel icon

Post

Posted
Rating:
#1 (In Topic #660)
Enthusiast
AndyGable is in the usergroup ‘Enthusiast’
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
Online now: No Back to the top

Post

Posted
Rating:
#2
Guru
BruceSteers is in the usergroup ‘Guru’
/comp/gb.gui.trayicon - Gambas Documentation

That should help <EMOJI seq="1f60e" tseq="1f60e">😎</EMOJI>

Theres possibly examples on he farm.
Online now: No Back to the top

Post

Posted
Rating:
#3
Enthusiast
AndyGable is in the usergroup ‘Enthusiast’

BruceSteers said

/comp/gb.gui.trayicon - Gambas Documentation

That should help <EMOJI seq="1f60e" tseq="1f60e">😎</EMOJI>

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
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Guru
cogier is in the usergroup ‘Guru’
The code below should do the trick.
There are at least 3 examples on the Farm. Alarm_Timer, FileTidy and Analogue_clock.

Code (gambas)

  1. ''needs gb.gui.trayicon
  2.  
  3. TrayIcon1 As TrayIcon
  4.  
  5. Public Sub Form_Open()
  6.  
  7.   With TrayIcon1 = New TrayIcon
  8.     .Picture = Picture["icon:/256/emote-cool"]
  9.     .show
  10.  
  11.  
Online now: No Back to the top

Post

Posted
Rating:
#5
Enthusiast
AndyGable is in the usergroup ‘Enthusiast’

cogier said

The code below should do the trick.
There are at least 3 examples on the Farm. Alarm_Timer, FileTidy and Analogue_clock.

Code (gambas)

  1. ''needs gb.gui.trayicon
  2.  
  3. TrayIcon1 As TrayIcon
  4.  
  5. Public Sub Form_Open()
  6.  
  7.   With TrayIcon1 = New TrayIcon
  8.     .Picture = Picture["icon:/256/emote-cool"]
  9.     .show
  10.  
  11.  


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.
Online now: No Back to the top
1 guest and 0 members have just viewed this.