Necromorph Posted April 6, 2010 Share Posted April 6, 2010 im i just misunderstanding the help file? shouldn't the following script make a button's text go "vertical"? #include <GUIConstantsEx.au3> #include <ButtonConstants.au3> GUICreate("test") GUISetState() GUICtrlCreateButton("test button", 100, 100, 25, 100, $BS_VCENTER) While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd maybe im just reading it wrong, if i am, does anyone else know how to make a "vertical" button? Link to comment Share on other sites More sharing options...
martin Posted April 6, 2010 Share Posted April 6, 2010 im i just misunderstanding the help file? shouldn't the following script make a button's text go "vertical"? #include <GUIConstantsEx.au3> #include <ButtonConstants.au3> GUICreate("test") GUISetState() GUICtrlCreateButton("test button", 100, 100, 25, 100, $BS_VCENTER) While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd maybe im just reading it wrong, if i am, does anyone else know how to make a "vertical" button? Maybe something like this? #include <buttonconstants.au3> GUICreate("ww") GUICtrlCreatebutton("d" & @CRLF & "o" & @CRLF & "g",20,20,40,120,BitOr($GUI_SS_DEFAULT_BUTTON,$BS_MULTILINE)) GUISetState() sleep(6000) 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...
kaotkbliss Posted April 6, 2010 Share Posted April 6, 2010 yes, you read the help file wrong. It doesn't make the text verticle, it centers it verticle so there is equal space above and below the text. As for creating verticle text, I remember seeing a post on here about that somewhere.. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Necromorph Posted April 6, 2010 Author Share Posted April 6, 2010 thanks for the replies, i will do some more research on the matter, but i think that martin's plan will suffice for what im trying to do. thanks again 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