wfuehrer Posted September 6, 2006 Share Posted September 6, 2006 Hi! How can i detect when a user change a tab in my gui? I have no succsess with testing the control ID. ... $TabSheet3 = GUICtrlCreateTabItem("Contacts") ... While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $TabSheet3 _DoSomething ... Will not work. Wolfgang Führer Link to comment Share on other sites More sharing options...
GaryFrost Posted September 6, 2006 Share Posted September 6, 2006 $Tab = GUICtrlCreateTabItem(10,10, 200,100) $TabSheet3 = GUICtrlCreateTabItem("Contacts") ... While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $Tab Switch GuiCtrlRead($Tab) Case 0 _DoSomething Case 1 Case 2 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
wfuehrer Posted September 10, 2006 Author Share Posted September 10, 2006 Thank you very much ... Wolfgang Führer 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