Results 1 to 5 of 5

Thread: Input Panel Problem ???

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Input Panel Problem ???

    Hi Peeps,

    I have a form with several textboxes on; I enable the input panel on the got focus of all the controls and disable it on the lost focus. My problem is that if I click on the bottom textbox the input panel goes over the top so I cannot see what I am typing.

    How can it get it so that the controls shunt up without having to set everone of them.

    Thank you all for any help,

    Jiggy!

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Input Panel Problem ???

    Hi,
    put all the controls in a panel, and then just move the panel up and down

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Input Panel Problem ???

    Ya, do that anyways. If all your controls are on panels, then you can move panels around. This is much faster than using multiple forms (though you only mention using one). This also allows you to move the panel up out of the way of the input panel, and anything else you feel like doing.
    My usual boring signature: Nothing

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Input Panel Problem ???

    Ignore my comment, I didn't see your other thread.

    One thing you might consider, however, though it may look goofy as all get out, would be to have each textbox on a panel (all the panels with their controls could sit on a different panel, which would allow you to still swap the whole screen at once), and when you go into that GotFocus, or whatever, take the panel that contains the control you want to enter data on, and pop that up into the middle of the screen for data entry. When you hit the LostFocus event and hide the input panel, drop the panel with the control back into place.

    Doing this shouldn't be too difficult, and it may look acceptable, especially if there is a label along with the textbox on the moveable panel. On the other hand, it could look hokey. I often have to try things before I can tell how they would look.
    My usual boring signature: Nothing

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: Input Panel Problem ???

    Hi All,

    I have sorted it thank you. There is a panel.controls element so I created a public variable and in the got focus of my textboxes if I need to have the controls move up I set it to true. In the inputpanel control if enabled and the public variable it true it does a for loop through the controls and moves them up. Works great!

    Jiggy!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width