[dba-VB] Tabstrip Control - VB6

Seth Galitzer sgsax at ksu.edu
Tue Jan 20 10:30:12 CST 2004


Richard,

Use the SetFocus method of the page to simulate clicking on the tab. 
Tab control pages can be named, like any other control.  Here's some
code:

tabMyTabControl.Pages("pgeMyPage").SetFocus

A page can be identifed by its name or index value.

Seth

On Tue, 2004-01-20 at 09:30, Griffiths, Richard wrote:
> Hi Group
> 
> Having problems trying to code a tabstrip click i.e. code to change the tab
> - can't seem to be able to find the correct method.
> Any ideas
> 
> Thanks
> Richard
> 

-- 
Seth Galitzer			sgsax at ksu.edu
Computing Specialist		http://puma.agron.ksu.edu/~sgsax
Dept. of Plant Pathology
Kansas State University



More information about the dba-VB mailing list