Image Click

22 views
Skip to first unread message

Steve Burrows

unread,
May 27, 2025, 3:47:46 PMMay 27
to Migrated By Firefly
Have Images on my Form, and the exising Handlers.Add for Command.Click work fine.
When I remove them and try to attach a method to the Click Event with the Form Designer, the method is never called.
I realise Command.Click may not be the same as a Click Event, but it works fine for other types of control that I have tried.

Is this expected behaviour and/or is there a work around ?

Shuki Birshan

unread,
May 27, 2025, 3:55:51 PMMay 27
to Migrated By Firefly
Let me save you some time.
I had the same problem when I wanted to switch my design to display icons (png) instead of buttons (like print, edit, add, delete ..).
the only event I found that is working for Firefly's picturebox control is MouseUp.
Use that instead of Click Event.

ב-יום שלישי, 27 במאי 2025 בשעה 22:47:46 UTC+3, steven....@gmail.com כתב/ה:

Steve Burrows

unread,
May 28, 2025, 3:17:23 AMMay 28
to Migrated By Firefly
Thanks. I had tried most of the Mouse Events, but must have not bothered with that one.
Reply all
Reply to author
Forward
0 new messages