Pakku Posted March 4, 2007 Share Posted March 4, 2007 Hi all, when i run this, i can't see the tabs, how do i fix it? #include<GUIConstants.au3> GUICreate("My app",600,400) GUICtrlCreatePic("Images\GUI.jpg",0,0,600,400) GuiCtrlSetState(-1,$GUI_DISABLE) GUICtrlCreateButton("",460,50 + 35 * 0,95,30) GUICtrlCreateButton("",460,50 + 35 * 1,95,30) GUICtrlCreateButton("",460,50 + 35 * 2,95,30) GUICtrlCreateButton("",460,50 + 35 * 3,95,30) GUICtrlCreateButton("",460,50 + 35 * 4,95,30) GUICtrlCreateTab(29,29,400,340,$TCS_MULTILINE + $TCS_FIXEDWIDTH) GUICtrlCreateTabItem("1") GUICtrlCreateTabItem("2") GUICtrlCreateTabItem("3") GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit EndIf WEnd Arjan How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me Link to comment Share on other sites More sharing options...
PaulIA Posted March 4, 2007 Share Posted March 4, 2007 Hi all, when i run this, i can't see the tabs, how do i fix it? #include<GUIConstants.au3> GUICreate("My app",600,400) GUICtrlCreatePic("Images\GUI.jpg",0,0,600,400) GuiCtrlSetState(-1,$GUI_DISABLE) GUICtrlCreateButton("",460,50 + 35 * 0,95,30) GUICtrlCreateButton("",460,50 + 35 * 1,95,30) GUICtrlCreateButton("",460,50 + 35 * 2,95,30) GUICtrlCreateButton("",460,50 + 35 * 3,95,30) GUICtrlCreateButton("",460,50 + 35 * 4,95,30) GUICtrlCreateTab(29,29,400,340,$TCS_MULTILINE + $TCS_FIXEDWIDTH) GUICtrlCreateTabItem("1") GUICtrlCreateTabItem("2") GUICtrlCreateTabItem("3") GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit EndIf WEnd Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
EndFunc Posted March 4, 2007 Share Posted March 4, 2007 Hi all, when i run this, i can't see the tabs, how do i fix it? #include<GUIConstants.au3> GUICreate("My app",600,400) GUICtrlCreatePic("Images\GUI.jpg",0,0,600,400) GuiCtrlSetState(-1,$GUI_DISABLE) GUICtrlCreateButton("",460,50 + 35 * 0,95,30) GUICtrlCreateButton("",460,50 + 35 * 1,95,30) GUICtrlCreateButton("",460,50 + 35 * 2,95,30) GUICtrlCreateButton("",460,50 + 35 * 3,95,30) GUICtrlCreateButton("",460,50 + 35 * 4,95,30) GUICtrlCreateTab(29,29,400,340,$TCS_MULTILINE + $TCS_FIXEDWIDTH) GUICtrlCreateTabItem("1") GUICtrlCreateTabItem("2") GUICtrlCreateTabItem("3") GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit EndIf WEnd oÝ÷ Ø ãjêº^N¼®²)àiû¥X¤x-=Ú)ë4÷a":`¢¼!jׯz»ayû¥ò¢ìÛhq©e×ë¢kazƦyØ«yËh¯+ajÛazÇ+b²)íéí¯+ayú%"(uà%²$²X¤zØ^欢|¨¹Æ§ßÛlyëazÖ²'ÛyÆ®±ëaz¶êÞÂ)erÞ®Ø^z{bæ©¥«2¢èZ½è¶¬jg¬7³*.¬eëM8ÓE,zØ^iËnjWbéìì¡ü¨ººbrÛ«xò¢ë-Ypj{m¡Ø¬i¹^Ûaz{§r¦z{mébë§uêâ´Æ²mëaÌ"X^®¶sb6æ6ÇVFRfÇC´uT6öç7FçG2æS2fwC° ¤uT7&VFRgV÷C´×gV÷C²ÃcÃC¤uT7G&Ä7&VFU267&DF"fײgV÷C²b3#´ÖvW2b3#´uTæ§rgV÷C²ÃÃÃcÃC£´wV7G&Å6WE7FFRÓÂb33c´uTôD4$ÄR ¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢ÃRÃ3¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢ÃRÃ3¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢"ÃRÃ3¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢2ÃRÃ3¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢BÃRÃ3 ¤uT7G&Ä7&VFUF"#Ã#ÃCÃ3CÂb33cµD55ôÕTÅDÄäR²b33cµD55ôdTEtED¤uT7G&Ä7&VFUF$FVÒgV÷C³gV÷C²¤uT7G&Ä7&VFUF$FVÒgV÷C³"gV÷C²¤uT7G&Ä7&VFUF$FVÒgV÷C³2gV÷C² ¤uT6WE7FFR ¥vÆR¢b33c¶×6rÒuTvWD×6r¢bb33c¶×6rÒb33c´uTôUdTåEô4Äõ4RFVà¢W@¢VæD`¥tVæ EndFuncAutoIt is the shiznit. I love it. Link to comment Share on other sites More sharing options...
MHz Posted March 5, 2007 Share Posted March 5, 2007 It is a good idea to also close your tab items. ... ... GUICtrlCreateTab(29,29,400,340,$TCS_MULTILINE + $TCS_FIXEDWIDTH) GUICtrlCreateTabItem("1") GUICtrlCreateTabItem("2") GUICtrlCreateTabItem("3") GUICtrlCreateTabItem('') ; Close tabitem. ... ... Link to comment Share on other sites More sharing options...
Pakku Posted March 5, 2007 Author Share Posted March 5, 2007 Thanks for all the response but: the picture is a background picture and i saw on the forum that i had to disable it to use it als a backgroundpicture (also the reason for these dimensions) @MHz GUICtrlCreateTabItem('') ; Close tabitem. Thanks, this might be useful! Any other ideas people? Arjan How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me 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