Duplicate evClick events on buttons

Doug Easterbrook doug at artsman.com
Fri Feb 9 15:52:39 UTC 2024

hi Thad.

I have had some instances where I’ve had to explicitly discard the event when certain things happen

either by using one of

Process event and continue (Discard event)


Quit event handler (Discard event)

typically, if I get two of things I don’t want, its because there are two events generated in some way that I did not know about.

Typically is because I open a window after an event like on evclick and I don’t want the click to continue in the current method after the window is opened.

not sure if variations of those commands might help you …. but I’ve used them some 700 times in my app as an ‘oif all else fails and I’m getting an event that I don’t want to go anywere’…..   then process it, or process and discard it or with the method discarding it so that it is not passed on.

Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
Phone (403) 650-1978

> On Feb 9, 2024, at 4:03 AM, Thad Bogert <thad at technosolver.com> wrote:
> Hi All,
> I am experiencing a strange behavior with a pushbutton in Studio 6.1.3 on Windows 11. For some reason the evClick event is being triggered twice.
> For some reason I feel like I came across this issue in the past and it had to do with Windows overlaying it’s theme on top of Omnis’ controls (Desktop Composition), but I am not certain.
> Has anyone come across this issue?
> Thanks,
> Thad
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com

More information about the omnisdev-en mailing list