1. Programmatically select a tab on tab control
- Posted by ChrisB (moderator) May 20, 2009
- 786 views
Hi
Just a quickie, probably been answered a million times before.
How do you programmatically select a tab on a tab control in WIn32Lib - found getTabItem, but doesn't seem to be the corresponding setTabItem. Program starts with the last created tabItem (from IDE), and I want it to star with the first.
TIA
Chris
2. Re: Programmatically select a tab on tab control
- Posted by euphoric (admin) May 20, 2009
- 820 views
ChrisB said...
How do you programmatically select a tab on a tab control in WIn32Lib - found getTabItem, but doesn't seem to be the corresponding setTabItem.
Try setFocus().
3. Re: Programmatically select a tab on tab control
- Posted by ChrisB (moderator) May 20, 2009
- 792 views
Hi
Yup, that did it.
Thanks
Chris