Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. InputPanel Blues

InputPanel Blues

Scheduled Pinned Locked Moved Mobile
helpdiscussion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dan Broomall
    wrote on last edited by
    #1

    I am writing a WindowsCE/Pocket PC application and need to enable/disable the InputPanel for text fields during GotFocus/LostFocus. Obviously, I can't just drop an InputPanel object on the form if this app is to be used for Windows CE as well. So, to enable/disable the InputPanle object, I wrote the following code: private sub setSIPDisplay() { if ( ipInput != null ) ipInput.Enabled = !ipInput.Enabled; } Now, it works fine until the user closes the form while the InputPanel is still enabled. Then I get an error. I placed the "dangerous code" in a try-catch block (on the assignment statement above) and I get the ever helpful and descriptive exception of "Exception". I am sure it has to do with the InputPanel being orphaned somehow, but I haven't figured out why. Any thoughts on how I can a) fix this error or b) get a better exception description so I can learn more. Thanks Dan Broomall

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups