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!
CX Hotkey is not Tooltype based *shock*
CX Hotkey is not Tooltype based *shock*
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: CX Hotkey is not Tooltype based *shock*
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: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!
viewtopic.php?f=10&t=585
- TheMartian
- Posts: 109
- Joined: Sun Feb 28, 2010 12:51 pm
Re: CX Hotkey is not Tooltype based *shock*
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
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