InputPanel

  • Thread starter Thread starter Peter Morris [Droopy eyes software]
  • Start date Start date
P

Peter Morris [Droopy eyes software]

Hi all

I am writing a simple PocketPC app. When I run my form (which has only 2
textboxes + 2 labels on it) I don't see the input panel on my device.

So, I add an InputPanel component to my form + set Enabled=True, and add
Microsoft.WindowsCE.Forms to my project. Now when I run my app on my
Intermec PPC I get an exception as follows

An unhandled exception of type 'System.Exception' occurred in
Microsoft.WindowsCE.Forms.dll
Additional information: Exception


Running the same app on the PocketPC emulator does exactly the same, so I
presume there is another way of getting keyboard input on a Pocket PC?

Can someone help please? I'm sorry if this is a very basic question.


Thanks

Pete
 
Does your form have a mainmenu control? Add one...

If you are still having trouble tell us exactly what target you are using,
which IDE and what netcf version... best of all post your code.

Cheers
Daniel
 
Ah, brilliant!

It was a combination of two things.

Thing 1) No MainMenu on the form (so it just didn't appear)
Thing 2) Setting "Enabled" at design-time is pointless, if no control has
focus it will crash.

I thought that "Enabled" would mean "Enabled", not "Visible" or "PoppedUp"
:-)

Thanks again!

Pete
 
Back
Top