Jump to content
Sign in to follow this  
Merchants

how can i get the text2 onder the text 1 ?

Recommended Posts

Merchants

how can i get the text 2 onder the text 1 ?

GUICtrlCreateButton("text 1" & @CRLF & "text 2", 18, 250, 80, 40)

like this:

Posted Image

Share this post


Link to post
Share on other sites
KaFu

#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>

GUICreate("My GUI Button")

$Button_1 = GUICtrlCreateButton("text1" & @CRLF & "text2", 10, 30, 100, 40, $BS_MULTILINE)

GUISetState()

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
    EndSelect
WEnd

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  

×