|
#1
|
|||
|
|||
|
I can't figure out how to prevent my Screen from closing when Enter key is pressed. I have a couple of buttons on my screen (in addition to navication buttons), and even if one of them has a focus (which guarantees that next / close buttons are not in focus), the screen is still closing when Enter key is pressed.
How can I prevent this? Is there any way to trap and process OnKey event in the screen? Any help in this matter will be greatly appreciated! |
|
#2
|
||||
|
||||
|
There is no way to capture the keystrokes in a screen. One potential workaround could be disabling the button when the screen starts:
DlgButton.SetProperties(CTRL_BUTTON_NEXT, {Enabled=false}); Then enabling it when you want to allow it to be pressed: DlgButton.SetProperties(CTRL_BUTTON_NEXT, {Enabled=true}); Might require a little scripting to get working properly Adam Kapilik |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Progress Bars screen, On Start code is skipped | AxemanMK | Setup Factory 7.0 Discussion | 7 | 09-21-2006 03:15 PM |
| Unable to find software? | NigelLacey | Visual Patch 2.0 | 4 | 10-11-2005 11:35 AM |
| Enter key = mouse click? | Silver Zero | AutoPlay Media Studio 5.0 | 7 | 02-16-2004 10:47 PM |
| HOWTO: Make a Media Player Object Go Full Screen | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-23-2002 12:23 PM |
| HOWTO: Install a Screen Saver | Support | Setup Factory 6.0 Knowledge Base | 0 | 09-27-2002 02:35 PM |
All times are GMT -6. The time now is 05:25 PM.








Linear Mode

