 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
tpatel5
Joined: 27 Oct 2004 Posts: 65 Location: GA
|
Posted: Mon Jan 30, 2006 1:54 pm Post subject: gui, text wrapping not working for the text control |
|
|
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  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Jan 30, 2006 2:27 pm Post subject: |
|
|
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 |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|