myspacee 1 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. Share this post Link to post Share on other sites
BugFix 43 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 Share this post Link to post Share on other sites