Control loosing its keypress event

  • Thread starter Thread starter oren
  • Start date Start date
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.
 
Just making a guess here.
Is the 8800 an RF unit? We have had issues with a RF signal indicator
stealing application focus.
 
Its a WLAN device (WIFI).

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

Regards.
 
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?
 
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.
 
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.
 
Back
Top