Re: Open a form and select the tab page



Thank you ever so much, simple mistake, I had the two commands in the wrong
order and it would not work. I am still in the early stages of learning
VB.Net and sadly my deadline is fast approaching. Would it be possible to
email you a zipped copy of my application to clear up a few bugs for me, this
would be greatly appreciated. I am happy to offer you a reasonable agreed for
for this service.


"Herfried K. Wagner [MVP]" wrote:

> "lukegregory" <lukegregory@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb:
> > How can I make a hyperlink open another form and select the specified tab
> > page on that form.
> >
> > I have declared the form I want to open as "Details" so:
> >
> > Details.Show()
> >
> > Opens the form. And to select the tab page I can use:
> >
> > MainTabControl.SelectedTab = SearchTabPage
> >
> > However I cannot combine these two commands into one click action.
>
>
> What's the problem?
>
> \\\
> Dim d As New DetailsForm()
> d.MainTabControl.SelectedIndex = 2
> d.Show()
> ///
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>
>
>
.



Relevant Pages

  • Re: Overview Of New Intel Core i7(Nehalem) Processor
    ... has to create funny RS232 commands to have it do anything? ... Zero bugs in the code. ... One joy of being an electronics designer is that you don't have to get ... On the other side of the spectrum there are more good, say successful, hardware project, AND software projects. ...
    (sci.electronics.design)
  • Re: [opensuse] automount option
    ... That's why by mistake I omitted this important detail. ... My SuSE 11.1 installation completed successfully. ... Someone suggested me to activate the automount option which I cannot find. ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • [Full-Disclosure] Fw: php-exec-dir vulnerable?
    ... Php-exec-dir been fixed for those who care. ... Bugs ... VeNoMouS reported that you can execute commands out of specified directories ...
    (Full-Disclosure)
  • Re: Change the DSC_xxxx File Naming
    ... simplest way to get what you want is to immediately rename the files ... Just open a DOS window where the image files exist and they can be ... mistake. ... Linux/*nix should have equivalent commands, ...
    (rec.photo.digital)
  • Re: How to tell whats using Com1
    ... >no com1 under hidden devices in device manager ... I made a mistake in my previous post. ...
    (microsoft.public.windowsxp.general)