2
Answers

Calling a tabular form via dialog

All, I'm calling a form as follows: frmSysMaint dlg = new frmSysMaint(); The form is a tabular form and the default first tab is show. However, I wish to show one of the later tabs. Is there a way to raise the form with let's say the 3rd or 4th tab displayed? Thanks
Answers (2)
0
Simon, I added the method to the form need to know how and when to set the tab. In other words, when the frmmaint starts the option seleced from the main form would have to be identified. Nevertheless, the compiler doesn't see the option button from antoher from.
0
shimtanny
NA 440 0 20y
Hi I assume that your frmSysMaintDlg contains a TabControl, lets name it tabControl1 with two TabPage: tabPage1 and tabPage2 Add a method to your frmSysMaint: public void SetTabPage() { tabControl1.SelectedTab = tabPage2; } You could do it also in the contructor or pageload event handler method. Simon