#PB_EventType_ReturnKey

Just starting out? Need help? Post your questions and find answers here.
User avatar
captain_skank
Enthusiast
Enthusiast
Posts: 641
Joined: Fri Oct 06, 2006 3:57 pm
Location: England

#PB_EventType_ReturnKey

Post by captain_skank »

Hi all,

When was #PB_EventType_ReturnKey removed and what was it replaced with ?

I'm having to recompile an older piece of code and this has been highlighted.

Cheers

Captain S
User avatar
spikey
Enthusiast
Enthusiast
Posts: 761
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: #PB_EventType_ReturnKey

Post by spikey »

As far as I can tell it predates the documentation in the public repo, so prior to 2020. You could use AddKeyboardShortcut to get notified at the window level, or the CanvasGadget supports key events at the gadget level.
User avatar
HeX0R
Addict
Addict
Posts: 1198
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: #PB_EventType_ReturnKey

Post by HeX0R »

User avatar
captain_skank
Enthusiast
Enthusiast
Posts: 641
Joined: Fri Oct 06, 2006 3:57 pm
Location: England

Re: #PB_EventType_ReturnKey

Post by captain_skank »

Thanks for the info, compileif option was a perfect solution for this use case I.E requiring the least amount of effort :D
Post Reply