Goto page

XXD

Registered User.
Local time
Today, 09:41
Joined
Mar 11, 2008
Messages
68
Hello

Can anyone tell me how to make a button that has the function of going to another page in a flap.
The button is on page(0) and I want it on klick to go to page(1).

Thanks
XXD
 
Hello

Can anyone tell me how to make a button that has the function of going to another page in a flap.
The button is on page(0) and I want it on klick to go to page(1).

Thanks
XXD

Do you mean switch between Tabs on a Tab Group? If so, then all you need to do is set focus to any control contained in the tab and the Tab will appear at the top of the Tab Group. You might even be able to set focus on the Tab itself, but I have never tried that.
 
For a tab control to go to the page 1 from page 0 in a click event on a button:

Me.YourTabControlNameHere.Pages(1).SetFocus

or just use the page name:

Me.PageNameHere.SetFocus
 
For a tab control to go to the page 1 from page 0 in a click event on a button:

Me.YourTabControlNameHere.Pages(1).SetFocus

or just use the page name:

Me.PageNameHere.SetFocus


Thank you bob.
Me.PageNameHere.SetFocus did the job. :)
 
Thanks for this, it helped me figure out how to set focus on a tab using Me.YourTabControlNameHere.Pages(1).SetFocus
 

Users who are viewing this thread

Back
Top Bottom