![]() |
![]() |
#1 |
Registered User
Join Date: Jul 2022
Location: Australia
Posts: 49
|
Integer gadget class arrows not triggering hook
Hello again!
I've got an integer gadget in my Reaction app; I've configured STRINGA_EditHook to look for changes etc. If I'm playing around in the actual editor box things work fine. However, clicking on the arrows doesn't trigger the hook even though the value is changing. Is this a bug with the integer.class? Cheers, -Matt |
![]() |
![]() |
#2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,047
|
I would not call it a bug, more an oversight.
The EditHook is a function of intuition's builtin STRGCLASS. Both string.gadget and integer.gadget are built around that one. STRGCLASS does not have arrows, therefore Intuition does not call the edit hook for arrow presses. Integer.gadget would have to call the exit outside of intuition. I don't know if this can be expected. |
![]() |
![]() |
#3 | |
Registered User
Join Date: Jul 2022
Location: Australia
Posts: 49
|
Quote:
-M |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arrows to next issue are now missing. | redblade | AMR data problems | 0 | 19 February 2021 23:06 |
Audio: Re-triggering a note | losso | Coders. Asm / Hardware | 7 | 24 January 2014 18:07 |
Triggering the WinUAE Debugger? | h0ffman | Coders. General | 2 | 03 June 2011 14:52 |
Triggering a Level 7 NMI Interrupt in WinUAE | psw | support.WinUAE | 2 | 07 December 2010 15:14 |
Gadget/Layout.gadget V44 | ruliovega | support.Apps | 6 | 02 January 2006 11:50 |
|
|