[futurebasic] Key Trapping INIT - Solved!

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 1999 : Group Archive : Group : All Groups

From: Mel Patrick <mel@...>
Date: Sun, 25 Jul 1999 01:22:51 -0700
Good grief, blush.

I started searching Apples developer web site and happened to fall 
across something called autokeyevt. So I did a little more looking 
and low and behold, there is an event for this. Its even listed in 
the FB manual but in all the years of working in the event chain, 
I've never seen it.

Hence to make my extension work, it required a MASSIVE one line change.

       CASE _keyDwnEvt,_autoKeyEvt
 
Now it works fine, there's probably a faster way of reading out the 
info rather than peek and poke but it works fine on my Powerbook G3 
and with 8.6 yet. Actually FB works really well on it (I was kind of 
surprised anything worked on 8.6 after a few friends upgraded to it 
and told me nothing but horror tales).

Now my boring F12 key is a gleeful forward delete key...

Mel Patrick
mel@...