MuiRoyale and iskeydown.

Discuss GUI programming with the MUI Royale plugin here
Post Reply
evil
Posts: 177
Joined: Mon Jun 14, 2010 1:38 pm

MuiRoyale and iskeydown.

Post by evil »

My software (ArtBase) uses MUI-Royale.
At some points I use IsKeyDown() to check, if the qualifier "LSHIFT" is pressed.
Since Hollywood V6 this doesnt work anymore.
Normal keys (letters) are checked correctly by IsKeyDown(), but hitting qualifiers only, will not be recogniced anymore.

As an example script I used your Example Class1.hws
I replaced:
repeat
WaitEvent()
forever

with:
Repeat
if iskeydown("LSHIFT")=TRUE then nprint ("LSHIFT")
if iskeydown("a")=TRUE then nprint ("a")
wait(50)
forever

This worked correctly under Hollywood V5.3 (at least in my program...)

A bug???
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MuiRoyale and iskeydown.

Post by airsoftsoftwair »

This is because of some major changes in Hollywood 6.0's display handler. It needs to be fixed in MUI Royale, not in Hollywood. In the next update of MUI Royale this will work correctly again.
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: MuiRoyale and iskeydown.

Post by djrikki »

yes i too wondered what was going on here
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
evil
Posts: 177
Joined: Mon Jun 14, 2010 1:38 pm

Re: MuiRoyale and iskeydown.

Post by evil »

Is there already a releasedate for that update???

Best regards

George
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MuiRoyale and iskeydown.

Post by airsoftsoftwair »

No, but it shouldn't take that long...
Post Reply