Sign in to follow this  
Followers 0
BALA

"Word wrap" with AutoIt

5 posts in this topic

Here's a simple GUI I have:

#include <GUIConstants.au3>

Opt("GUIOnEventMode", 1)
$mainwindow = GUICreate("BA-LETED", 240, 140)
GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked")
GUISetState()

GUICtrlCreateLabel("Type in the path of the directory you want to scan and press 'BA-LETE' to start scanning.", 10, 10)

$input = GUICtrlCreateInput("C:\", 30, 60, 180, 20)

$begin = GUICtrlCreateButton("BA-LETE", 60, 100, 120)
GUICtrlSetOnEvent($begin, "Begin")

How can I make it so all the writing shows in the window without having to make the window wider?


[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Well, I see that you have NOT specified the width and length of the label. So change this:

GUICtrlCreateLabel("Type in the path of the directory you want to scan and press 'BA-LETE' to start scanning.", 10, 10)oÝ÷ Ù:-+ºÚ"µÍÕRPÝÜX]SX[
    ][ÝÕH[H]ÙHXÝÜH[ÝHØ[ÈØØ[[ÜÈ  ÌÎNÐKSUIÌÎNÈÈÝØØ[[Ë][ÝËLL

oÝ÷ ج¶)µçmç^²*Þw¶§v¢H*.«Þz÷§ÞµìmÊjv¥²!jxÛh¶¬jëh×6GUICtrlCreateEdit("Type in the path of the directory you want to scan and press 'BA-LETE' to start scanning.", 10, 10, 220, 40, $ES_READONLY + $WS_VSCROLL + $ES_AUTOVSCROLL)

Kurt

*Edit* Larry beat me to it :P

Edited by _Kurt

Awaiting Diablo III..

Share this post


Link to post
Share on other sites

Hehe, I'm pretty good with estimating that stuff :P

Kurt


Awaiting Diablo III..

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