Change Tab with code?

Started by James Fuller, February 07, 2010, 01:58:39 PM

Previous topic - Next topic

James Fuller

I have a two tab tabcontrol. On tab1 I select an Item I wish to edit on tab0, and select edit from a menu item. How do I change the view to Tab0 in code?? I'm sure I had code somewhere but I can't find it!!

James

James Fuller

Never mind I got it!

FF_TabControl_SetTabFocus HWND_CWFORM_TABCONTROL1,0   
FF_TabControl_SetSelectedTab HWND_CWFORM_TABCONTROL1,0

I forgot the first one.

James