Scriptor Posted December 10, 2006 Share Posted December 10, 2006 I have a problem with Tabs. I will create a gui with tabs. When I click on tab1, then show undertabs1.1, 1.2. But when i click on tab 1.1, then it's in first line. P.S.: My English isn't good. Link to comment Share on other sites More sharing options...
GaryFrost Posted December 10, 2006 Share Posted December 10, 2006 I have a problem with Tabs. I will create a gui with tabs. When I click on tab1, then show undertabs1.1, 1.2. But when i click on tab 1.1, then it's in first line.P.S.: My English isn't good.That's all fine and good, but how about a script we can look at to be able to help you. 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...
Scriptor Posted December 10, 2006 Author Share Posted December 10, 2006 This is what I written CODEOpt("GUIOnEventMode", 1) #include <GUIConstants.au3> $GUI_Main = GUICreate("...", 200, 200) GUISetOnEvent($GUI_EVENT_CLOSE, "_close") GUICtrlCreateTab(10, 10, 180, 180) ; Tab 1 $TAB_1 = GUICtrlCreateTabItem("Tab 1") GUISwitch($GUI_Main, $TAB_1 ; Tab 1.1 $TAB_1_1 = GUICtrlCreateTabItem("Tab 1.1") ; Fenster anzeigen GUISetState(@SW_SHOW) Func _close() Exit EndFunc ;==>_close While 1 sleep(500) WEnd Link to comment Share on other sites More sharing options...
martin Posted December 10, 2006 Share Posted December 10, 2006 This is what I writtenCODEOpt("GUIOnEventMode", 1)#include <GUIConstants.au3>$GUI_Main = GUICreate("...", 200, 200)GUISetOnEvent($GUI_EVENT_CLOSE, "_close")GUICtrlCreateTab(10, 10, 180, 180); Tab 1$TAB_1 = GUICtrlCreateTabItem("Tab 1")GUISwitch($GUI_Main, $TAB_1; Tab 1.1$TAB_1_1 = GUICtrlCreateTabItem("Tab 1.1"); Fenster anzeigenGUISetState(@SW_SHOW)Func _close() ExitEndFunc ;==>_closeWhile 1 sleep(500)WEndCan you explain what is the problem again? The code you posted works ok but you mention tab 1.2 which is not in the code. Have you missed something out? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 10, 2006 Developers Share Posted December 10, 2006 (edited) There is a syntax error in this version so it cannot be the one you are testing with... but when fixing that error I dont see any problem with it .. Maybe you can explain again what the problem is ? Edited December 10, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Scriptor Posted December 10, 2006 Author Share Posted December 10, 2006 Can you help me? Link to comment Share on other sites More sharing options...
Developers Jos Posted December 10, 2006 Developers Share Posted December 10, 2006 Can you help me?Maybe but only if you can explain what your problem is because I don't understand your problem yet ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Scriptor Posted December 11, 2006 Author Share Posted December 11, 2006 OK. I will programming a undertab in tab 1. The names of the undertabs is 1.1 & 1.2. Example (for a programm from a friend): Tab 1: Programs Tab 1.1: Remove Tab 1.2: Integrate 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