If $bHasTray Then Break > Next > Message("System tray did not load") > Endif > Oops correction.. Next If Not $bHasTray Then Message("System tray did not load") Endif BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221104/37943107/attachment.htm>