Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

line feed in a buttons text

$
0
0

Hello all,

 

 Currently I have a script that will display a big button as part of a GUI. After creating the Gui I create the button using GUICtrlCreateButton(). The first parameter which is the text, I have a lot of text in which I have several carriage return/line feeds (see below). But when I do this in a button text it does not do a new line (the whole string is one line). Does anyone know what I'm doing wrong?

$Button = GUICtrlCreateButton("-- First Line of text" & @CRLF & @CRLF & "-- 2nd line of txt" & @CRLF & @CRLF & "-- 3rd line", 1, 1, 798, 600, 0x0400)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>