English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can I for automate multipage to activate/select one of its tab by another control (command button)?

For example I have a multipage with pages/tabs 0, 1, 2, and 3. The initial page is for example 2. Then what routine should i write for the command button that whenever i click it the page 0 of multipage will be selected.

2006-12-28 16:50:10 · 1 answers · asked by Teddie 3 in Computers & Internet Programming & Design

1 answers

By MultiPage and your references to Tab Pages I assume that you mean the MS TabControl


Place the following into a Command Button Click event
Me.TabControl1.SelectedIndex = 0


This will select the first tab when the button is clicked.

2006-12-28 17:34:21 · answer #1 · answered by MarkG 7 · 0 0

fedest.com, questions and answers