Hest Posted October 28, 2009 Share Posted October 28, 2009 Hello all A little question about tabs. I have made a little gui with tabs on the left side. Is it possible to make the text/label horizontal instead of vertical? #include <GUIConstantsEx.au3> #include <TabConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form2 = GUICreate("Form1", 630, 316, 204, 296) $Tab1 = GUICtrlCreateTab(236, 56, 305, 193,BitOR($WS_CHILD, $TCS_FORCEICONLEFT, $TCS_VERTICAL, $TCS_MULTILINE)) GUICtrlSendMsg(-1, $TCM_SETITEMSIZE, 0, BitOR(50, BitShift(50, -16))) ;~ GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("TabSheet1") $TabSheet2 = GUICtrlCreateTabItem("TabSheet2") $TabSheet3 = GUICtrlCreateTabItem("TabSheet3") GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Software:Model Train Calculator (Screen)Autoit3 beginner! Link to comment Share on other sites More sharing options...
john7a8 Posted October 28, 2009 Share Posted October 28, 2009 Hi Hest, Try taking a look at the example code in help under the GUICtrlCreateTabItem topic. The example has three tabs that are horizontal. John Link to comment Share on other sites More sharing options...
GEOSoft Posted October 28, 2009 Share Posted October 28, 2009 He's looking for Vertical tabs with Horizontal text. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Hest Posted October 28, 2009 Author Share Posted October 28, 2009 He's looking for Vertical tabs with Horizontal text.Exactly. Not sure if it's even possible, but couldn't find any info about it. Software:Model Train Calculator (Screen)Autoit3 beginner! Link to comment Share on other sites More sharing options...
Authenticity Posted October 28, 2009 Share Posted October 28, 2009 lol, took me quite a lot to find this one, I guess that my searching capabilities are rusty. hope this is what you're looking for. By the way, it's using Malkey's string rotate function. 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