AustrianOak Posted June 8, 2008 Share Posted June 8, 2008 I have a tab and then two tab items on the tab. One says 'Tab1' and the other says 'Tab2'. How can I know when (if at all) 'Tab2' is clicked on so then I can make my own event to respond to that. I already tried Case $msg = $tab2 and soon found out that it didnt work so any help would be extremely appreciated. Link to comment Share on other sites More sharing options...
monoceres Posted June 8, 2008 Share Posted June 8, 2008 Hi! The event takes place in the Tab, not the the tab items, and when the event is fired, you can use GUICtrlRead($YOUR_TAB) to get the index (I think) of the tab that was clicked. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
AustrianOak Posted June 9, 2008 Author Share Posted June 9, 2008 Thank you monoceres! It works greats. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now