PDA

View Full Version : On Key



rhosk
11-17-2003, 01:59 PM
Well, I think I found another bug. The "On Key", albeit a great feature in theory, is not working correctly. All I have is a dialogue message that comes up when any key is pressed (for test). I've tried "Always on Top", "Standard Window", "System Tray", "Bordered", "Flat" and when the application starts and (apparently has focus), the On Key event doesn't work. Here's the tricky part; if I minimize the window to the task bar then, restore the window, On key press every time :confused: Is there something else I should try to at least get On Key to work straight off the execute? Has anyone got this to work? Thanks.

Brett
11-17-2003, 02:44 PM
Do you have an Input or ListBox object on your page? If so it may have the input focus by default and you will have to catch it's On Key event as well (a good time to make a global "HandleKeyPress" function that gets called). If this is not the case, please make a small project that shows this behavior and then upload it here so we can take a look at it.

Derek
11-17-2003, 02:51 PM
I cant replicate this. It seems to be working fine over here.
Are there any other actions intefering with it somewhere?

TJ_Tigger
11-17-2003, 04:52 PM
It works over here as well. Obviously the AMS5 application needs to be in focus for it to work, but it does work.

rhosk
11-18-2003, 10:07 AM
Yeah, sorry for the mixup, I had an "On timer" even that was interfering, disregard :rolleyes: On Key works good w/focus.