AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gui, text wrapping not working for the text control

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
tpatel5



Joined: 27 Oct 2004
Posts: 65
Location: GA

PostPosted: Mon Jan 30, 2006 1:54 pm    Post subject: gui, text wrapping not working for the text control Reply with quote

When I run this script text wrapping only seems to be working for edit control and not the text control. anyone knows how to wrap text for text control?

Code:
gui, add, text, w25, 123456789
gui, add, edit, w25 -vscroll, 123456789
gui, show, h200 w200,

return

guiclose:
ExitApp

_________________
-Tru Cool
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Jan 30, 2006 2:27 pm    Post subject: Reply with quote

It seems that a Text control refuses to wrap unless there is a space or similar character at which to make a break between words. The only work-around I can think of is to put in your own linefeed characters. For example:
gui, add, text, w25, 123`n456`n789
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group