Consulting

Results 1 to 2 of 2

Thread: Need help on MultiPage control

  1. #1

    Need help on MultiPage control

    Dear all, I have created one userform. On that UserForm, I have one MultiPage control with 3 pages. And on that MultiPage control, I have 2 TextBoxes 2 CommandButton (for each page).

    Now I want to have some mechanism so that if user move from Page-i to Page-j (of that MultiPage control), the focus will be on 1st TextBox of Page-j. Presently the Focus is on the CommandButton (by default, the 1st CommandButton is selected when I move to and fro).

    Can somebody help me to achieve that?

    Thanks and regards,

  2. #2
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    Right click on a page in the Multi-Page control.
    Select Tab Order from the pop up menu
    Move the desired text box to the top of the tab order.

    Repeat for the other pages.

    The control at the top of the tab order for a page will get the focus when that page is selected.

Posting Permissions

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