Event used to change pages in a page form?

  • Thread starter Thread starter Stephen Russell
  • Start date Start date
S

Stephen Russell

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
 
Stephen Russell said:
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
 
Andy Becker said:
If VehiclesPage is a Form, perhaps BringToFront will help it to show?

Thanks. I missed that in the PEM list.

__Stephen
 
This is it :

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

this.TabControl.SelectedTab = this.VehiclesPage ;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top