SetFocus to TabPage |
Post Reply |
Author | |
RDONNAY
Groupie Joined: 10 February 2009 Location: United States Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 31 March 2009 at 2:49pm |
How do I set focus to a tab control item?
I am using Xbase++ and have been successful at setting focus to CodeJock.CheckBox and CodeJock.Pushbutton objects using a wrapper function that calls the Windows SetFocus() API call. I have not been successful, however, at setting focus to a tabpage when using CodeJock.TabControl. I have tried the TabControlItem.handle and the TabControlPage.hwnd. Both of them cause the same affect. The tabs disappear and stop functioning. Can you help with this? |
|
RDONNAY
Groupie Joined: 10 February 2009 Location: United States Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Nevermind. I solved the problem by using TabControl.selectedItem.
My brain suddenly started functioning after I had another espresso. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |