Control loosing its keypress event

O

oren

Hello,

Configuration: CF1 SP2 on CE.NET 4.2 on Symbol 8800.

I have an application that runns perfect on an IPAQ, but when running on
Symbol 8800 sometimes after several keypresses it starts to behave strage.

I have a KeyPress event on a listview and I am doing some stuff if
(e.KeyChar==13).

After some activity the KeyPress stops recieving key events (it seems that
the focus went out of the application - something like clicking the windows
logo button on the top left corner of the screen)

Sometimes I am able to overcome this by going to Settings\Buttons and
playing with buttons configuration. It will fail again after few minutes.

Usually going to Settings\Buttons will not fix the issue, and the only way
to fix it is by reseting the PDA & reloading the application.
After reseting & reloading the system will work OK for few minutes and fail
again.

I found no specific flow in my application that can explain this behaviour.

I have this issue only on the 8800 device. on IPAQ all is ok.

No much hair left on my head.

Any ideas ?

Thanks

Oren.
 
A

Adam Goetz

Just making a guess here.
Is the 8800 an RF unit? We have had issues with a RF signal indicator
stealing application focus.
 
O

oren

Its a WLAN device (WIFI).

Do you think it has something to do with loosing the focus ?

Regards.
 
A

Adam Goetz

Without knowing more about your app, I cannot really say for sure, but it
was something we have had problems with in some cases, mainly with
full-screen apps.
Is the Ipaq also WiFi or is it a batch unit?
 
O

oren

IPAQ is also WIFI.

Application description:
The application is a data entry application, only 2 forms, with 2 listviews
filled with dynamic data. After data is entered, it is send as XML to a
remote HTTP server for processing.

I am also using the captureHButtons control for intercepting hardware keys
events.
This application does not use the scanner.

Maybe if someone has a 8800 device, I will be able to create a small sample
that demonstrates this issue.

Thanks again.

Oren.
 
B

Bruce Bakely

You might try in your code setting the focus and/or capture property. I had
a similar sporatic problem on my 8146 that was fixed by setting me.Capture =
false in the OnLoad method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top