I have a multi page form, and in some processing I need the user to switch
to a different page.

This code doesn't seem to get the switch to happen.

this.dsVehicle = this.oSingle.GetVehicle(lnKey); // update dataset for
editing
this.VehiclesPage.Show(); // switch page

Re: Event used to change pages in a page form? by Andy

Andy
Fri Aug 06 10:01:22 CDT 2004

"Stephen Russell" <srussell@lotmate.com> wrote in message
news:uS7$$77eEHA.2804@TK2MSFTNGP11.phx.gbl...
> I have a multi page form, and in some processing I need the user to switch
> to a different page.
>
> This code doesn't seem to get the switch to happen.
>
> this.dsVehicle = this.oSingle.GetVehicle(lnKey); // update dataset for
> editing
> this.VehiclesPage.Show(); // switch page
>

If VehiclesPage is a Form, perhaps BringToFront will help it to show?

Best Regards,

Andy



Re: Event used to change pages in a page form? by Stephen

Stephen
Fri Aug 06 10:37:33 CDT 2004


"Andy Becker" <x@x.com> wrote in message
news:egKHkZ8eEHA.2544@TK2MSFTNGP10.phx.gbl...
> "Stephen Russell" <srussell@lotmate.com> wrote in message
> news:uS7$$77eEHA.2804@TK2MSFTNGP11.phx.gbl...
>
> If VehiclesPage is a Form, perhaps BringToFront will help it to show?

Thanks. I missed that in the PEM list.

__Stephen



Re: Event used to change pages in a page form? by Stephen

Stephen
Tue Aug 10 07:00:54 CDT 2004


"Stephen Russell" <srussell@lotmate.com> wrote in message
news:%234c1Lt8eEHA.3988@tk2msftngp13.phx.gbl...
>
> "Andy Becker" <x@x.com> wrote in message
> news:egKHkZ8eEHA.2544@TK2MSFTNGP10.phx.gbl...
> > "Stephen Russell" <srussell@lotmate.com> wrote in message
> > news:uS7$$77eEHA.2804@TK2MSFTNGP11.phx.gbl...
> >
> > If VehiclesPage is a Form, perhaps BringToFront will help it to show?
>
This is it :

this.dsVehicle = this.oSingle.GetVehicle(lnKey);

this.TabControl.SelectedTab = this.VehiclesPage ;