Jump to content

How to know when my a certain tab is clicked?


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...