Sign in to follow this  
Followers 0
Necromorph

vertical button

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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 game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0