CX Hotkey is not Tooltype based *shock*

Report any Hollywood bugs here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

CX Hotkey is not Tooltype based *shock*

Post by djrikki »

Hi Andreas,

Firstly, congratulations on releasing Hollywood 5.2 this weekend, haven't really had much time to have a look at yet, however I did look at the new HotKey event and its slightly disappointing.
According to the documentation the Hotkey is static, i.e. its defined during compile time. I kinda expected it to read the CX_POPUP tooltype determined if it is set to YES or NO, read CX_POPKEY tooltype and use that within event handling to iconify/deiconify the application - unfortunately it doesn't work that way at all!
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: CX Hotkey is not Tooltype based *shock*

Post by airsoftsoftwair »

RTFM ;)
User avatar
fingus
Posts: 271
Joined: Fri Sep 16, 2011 9:53 am

Re: CX Hotkey is not Tooltype based *shock*

Post by fingus »

djrikki wrote:Hi Andreas,

Firstly, congratulations on releasing Hollywood 5.2 this weekend, haven't really had much time to have a look at yet, however I did look at the new HotKey event and its slightly disappointing.
According to the documentation the Hotkey is static, i.e. its defined during compile time. I kinda expected it to read the CX_POPUP tooltype determined if it is set to YES or NO, read CX_POPKEY tooltype and use that within event handling to iconify/deiconify the application - unfortunately it doesn't work that way at all!
LOL, i kinda face the same problem, but in the Manual is described that you can use it as Tooltype-Argument too, but it isn´t working for me too, look here:

viewtopic.php?f=10&t=585
User avatar
TheMartian
Posts: 109
Joined: Sun Feb 28, 2010 12:51 pm

Re: CX Hotkey is not Tooltype based *shock*

Post by TheMartian »

Hi

As far as I can establish, it does work on my X1000.

If I set the icon for my executable to "start from" = Workbench and add a

CXKEY=alt F12

tool type, and click the icon the Hotkey event will trigger when the program runs. This also works if I set it to "Start from" = Shell and unset the 'Prompt for input' flag.

If I set the icon to "Start from" = Shell and set the 'Prompt for input' flag, and click the icon I get the command line to start the program. I can then use a syntax like

myprogram.exe -cxkey = "alt F12"

and again the Hotkey event works.

regards
Jesper
Post Reply