It is currently Sun Oct 25, 2020 11:21 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
PostPosted: Tue Aug 13, 2013 8:53 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jun 01, 2011 9:38 am
Posts: 309
Location: France - 89220 Rogny-Les-Septs-Ecluses
Hello,

Some binded KeyDown or KeyUp events are not fired:

[TAB]: KeyDown not fired (KeyUp is)
[F10]: KeyDown/KeyUp not fired
[PRINT]: KeyDown not fired (KeyUp is)
[ALT]: KeyDown/KeyUP not fired
[ALTGR]: KeyDown fired for [ALT] & [CTRL], KeyUp fired only for [ALT](18), not for [CTRL](17)

Tested on a french keyboard on Windows7 with x86.

Cheers,
Guy.

_________________
guy rabiller | radfac founder / ceo | raafal.org


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
PostPosted: Tue Aug 13, 2013 10:12 am 
Online
Addict
Addict
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 1304
Location: Germany, Glienicke
Code:
Procedure Test()
  Debug GetGadgetAttribute(EventGadget(), #PB_Canvas_Key)
EndProcedure

OpenWindow(0, 0, 0, 400, 300, "", #PB_Window_BorderLess)
CanvasGadget(0, 0, 0, 400, 300, #PB_Canvas_Keyboard)

BindGadgetEvent(0, @Test(), #PB_EventType_KeyDown)
BindGadgetEvent(0, @Test(), #PB_EventType_KeyUp)

Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow


same here, but I think it is a windows limitation

_________________
ImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
PostPosted: Wed Aug 14, 2013 2:44 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jun 01, 2011 9:38 am
Posts: 309
Location: France - 89220 Rogny-Les-Septs-Ecluses
Confirmed in v5.20b10 with x86 and x64.

Cheers,
Guy.

_________________
guy rabiller | radfac founder / ceo | raafal.org


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
PostPosted: Wed Aug 14, 2013 2:55 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14116
Location: France
Please don't bump the topic if you don't see a note from us, thank you.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: bbanelli, Naheulf and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye