Results 1 to 4 of 4

Thread: Input Panel Control Question PLZ

  1. #1

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

    Input Panel Control Question PLZ

    Hi All,

    I have several panels in my form and I have coded a next and back button to scroll through the panels. On each panel I have several text boxes; I don't want the input panel showing unless I click on one of the text boxes because it hides my buttons. I have enabled it in the got focus and disabled it in the lost focus but is there a better way as I will have to do this for all my textboxes and there is a lot.

    Thank you all for any help,

    Jiggy!

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

    Re: Input Panel Control Question PLZ

    Hi,
    no - you have to handle it in every event

    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 Control Question PLZ

    If that's all you are using that event for, you only need to write it once. At the end of the event you see a Handles <control name>.GotFocus. You can use the same function to handle any number of these in this fashion:

    Handles <control name 1>.GotFocus, <control name 2>.GotFocus, etc.

    Of course, this gets a bit more difficult if you want each one of those textboxes to do a different thing in that event.
    My usual boring signature: Nothing

  4. #4

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

    Re: Input Panel Control Question PLZ

    Hi All,

    Thank you for that; I think I will code each one as this makes it easier if in the future I need specific textboxes to do different things.

    Thanks again,

    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