myspacee Posted April 23, 2010 Posted April 23, 2010 Hello, i've a GUI with some tabitem. How can detect when user swith to a tab to another ? Thank you for any info, m.
BugFix Posted April 23, 2010 Posted April 23, 2010 sample: GuiCreate('test') $tab = GuiCtrlCreateTab(20,20,200,150) $item0 = GuiCtrlCreateTabItem('Item 0') $item1 = GuiCtrlCreateTabItem('Item 1') GUICtrlCreateTabItem('') GUISetState() While True $msg = GUIGetMsg() Switch $msg Case -3 Exit Case $tab Switch GUICtrlRead($tab) Case 0 MsgBox(0, '', 'Item 0') Case 1 MsgBox(0, '', 'Item 1') EndSwitch EndSwitch WEnd Best Regards BugFix
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