Programatically setting forefront tab in tab control

Is this possible.

I've a tab control I dynamically add tabs to, and want the tab I've just added
to be the one that comes to the forefront, so the user dosn't have to click
on it.

Possible? I couldn't see how in the docs, but then again, I rarely can!

Thanks.

Richard

notebook.AddPage(newPage, select=True) should do it.

Cheers, Frank

ยทยทยท

2007/2/12, Richard Terry <rterry@internode.on.net>:

Is this possible.

I've a tab control I dynamically add tabs to, and want the tab I've just added
to be the one that comes to the forefront, so the user dosn't have to click
on it.

Possible? I couldn't see how in the docs, but then again, I rarely can!