PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: James Fuller on February 07, 2010, 01:58:39 PM

Title: Change Tab with code?
Post by: James Fuller on February 07, 2010, 01:58:39 PM
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
Title: Re: Change Tab with code?
Post by: James Fuller on February 07, 2010, 02:12:23 PM
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