AutoHotkey Community

It is currently May 27th, 2012, 4:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: January 30th, 2006, 1:54 pm 
Offline

Joined: October 27th, 2004, 1:22 am
Posts: 64
Location: GA
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 8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2006, 2:27 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], patgenn123, rbrtryn and 68 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group