473,804 Members | 3,211 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Navigate from TabPage1 to TabPage2 Help

Hi,
I have a TabControl that has 1 TabPages on it.
I would like to have a button on TabPage1 that goes to TabPage2. Kinda like
a Next> button.

I can get this to work using the .BringToFront and .Show methods, but the
Tab at the top doesn't change.

How do I get the tab at the top to be the active tab?

Thank you
Ron.
Nov 21 '05 #1
1 2955
"Capt_Ron" <Ca*****@discus sions.microsoft .com> schrieb:
I have a TabControl that has 1 TabPages on it.
I would like to have a button on TabPage1 that goes to TabPage2. Kinda
like
a Next> button.


Set the tabcontrol's 'SelectedTab' or 'SelectedIndex' property accordingly.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1542
by: Husam | last post by:
Hi EveryBody: I used the sendMessage function to change the url of internet Explorer to www.yahoo.com and here what I did : SendMessage(hWnd, WM_SETTEXT, 0, "http://www.yahoo.com/") but I face this problem that the internet explorer did not start navigate to the url that I set which is www.yahoo.com, so any help that let me know how to make the internet explorer start navigate by using win32 api to the url
0
1255
by: Husam | last post by:
Hi EveryBody: I got this decleration from msdn documntation which is: object.Navigate( _ url As String, _ _ _ _ )
1
7851
by: Ryan Faricy | last post by:
I am in need of help here ... I have an application that needs to read information from an existing web browser window (located within an application I did not create). I am able to read the text from it using the IEDom tutorial seen everywhere ... .... but now what I need it to do is to actually navigate to a different page. I have attempted to create an object within my application that points to the Internet Explorer_Server class'...
1
1262
by: alps | last post by:
Hello friends , I am basically a delphi developer and am new to the VB.net technology.Can anyone out there give me a typical VB.net solution for a dataentry program for a table.Lets say there are 2 tables books and author and say I want to make an application that will allow to
2
17978
by: Ryan Ramsey | last post by:
I have been chasing this one down for a week and have narrowed it down to a machine issue. I have the following code: webBrowser.Navigate(http://finao.net/post_dkp.php?database=40); Basically all this script does is create an xml output file. After the navigate, the function stops and is triggered again when webbrowser_DocumentCompleted fires and then the XML file is read by the
1
2401
by: aecorzine | last post by:
Hopefully someone can help... I am new to the programming environment. I am attempting to programmatically (through a click event) open a pdf file and go to a specific page within that file so that the user can read from the pdf (the page number will be found in a database table). I have found code that will either 1) open the pdf in it's own application and 2) open the pdf in a VB Form. Either one of those is fine with me. However, I...
2
2074
by: gkostova | last post by:
Hello, Can someone help me. I use Web Browser in my windows form to display html document using flash and javascript, the problem is that not I canot navigate trought all pages of the flash . Then I decided to use AxWebBrowser and wrote AxWebBrowser webBr = new AxWebBrowser(); form.Controls.Add(webBr); form.Activate(); webBr.Dock = DockStyle.Fill; webBr.Parent =...
5
23454
by: timnels | last post by:
I have a web browser control that I'd like to point at a HTML file in my installation directory. I am doing something like: string path = Path.GetDirectoryName( Assembly.GetExecutingAssembly().GetModules() .FullyQualifiedName) + "\\howdoi.htm"; webBrowser1.Navigate(path); What do I need to do to form the correct URI string for a local file?
1
2284
by: Dudely | last post by:
Not sure if this is the right place to post, but here goes anyway. I pull out "javascript:__doPostBack('ctl01$ContentPlaceHolderMain $Page_SearchResults$Results','LID_2076923')" from an href in an object I'm parsing and set URLaddress to be that string On a whim, I then plug it into obIe.navigate (URLaddress) and miracle of miracles, it actually brought me to the right web page, which I didn't think it would do and have no idea why it...
0
9707
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9585
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5658
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.