Article View: comp.sys.acorn.tech
Article #101Re: I got the EventV Blues.
From: Philip R. Banks
Date: Mon, 03 Aug 1992 02:13
Date: Mon, 03 Aug 1992 02:13
23 lines
1708 bytes
1708 bytes
burke@vxdesy.desy.de writes:
> I've written a program which changes the function of the keypad; I was trying
> to change the state of the NumLock LED with a CallBack, and discovered that a)
> the keyboard handler also changes it the same way, and b) the two CallBacks
> didn't always come in the same order - usually the keyboard handler got in
> first, but not always. I then added a delay of 0.1 sec with CallAfter, and
> everything seems OK.
This might explain the behavior if the CallBack was stepping in before
the OS gets a chance to record the mouse movement/click. This strikes me as
odd though as I would have expected the OS to have already noted the change
*before* the event gets signaled across the EventV vector. I'll give it a
whirl with a CallAfter and see what happens...
Philip
--
Philip R. Banks Syntax: mail < banks_p@kosmos.wcc.govt.nz > @@@@@/|
@@@@/#|
@@@/##|
Radiation emissions from Quirium are perilously high, therefore repairs @@/---|
should not be attempted by pilots with vertigo. ---Arc Elite Manual @/ |
Technical Details
Message-ID:
<25kKh9j017n@khantazi.welly.gen.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!cavebbs!tornado!khantazi!banksieReferences:
<24A9nhj017n@khantazi.welly.gen.nz> <1992Aug1.150444.9705@cl.cam.ac.uk> <1992Aug2.183928.1@vxdesy.desy.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!cavebbs!tornado!khantazi!banksie From: banksie@khantazi.welly.gen.nz (Philip R. Banks) Newsgroups: comp.sys.acorn.tech Subject: Re: I got the EventV Blues. Message-ID: <25kKh9j017n@khantazi.welly.gen.nz> Date: Mon, 3 Aug 1992 14:13:22 +1200 References: <24A9nhj017n@khantazi.welly.gen.nz> <1992Aug1.150444.9705@cl.cam.ac.uk> <1992Aug2.183928.1@vxdesy.desy.de> Reply-To: banks_p@kosmos.wcc.govt.nz Organization: My Arc. Lines: 23