 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
ImprisonedPride
Joined: 30 Apr 2008 Posts: 18
|
Posted: Mon May 12, 2008 4:57 am Post subject: Linefeeds in a Gui text control... |
|
|
I was wondering, after I looked at the help files, how I can get it so that line feeds appear in a Gui text control? my current code:
| Code: |
Gui, Add, Edit, +Border w660 h100, +------------------+
| Javelin |
+------------------+-------+--------+-------------------------------------------+
| Item Name | Count | Ammo | Item Types |
+------------------+-------+--------+-------------------------------------------+
| Aphasic Plating | 1 | | Armor |
| G-Ammo | 7305 | | Gun Ammo |
| B-Ammo | 753 | | Bomb Ammo |
| Heat Reaver | 1 | 753 | Signature, Bomb |
| Power Strip | 1 | | Addon |
| Maneuvering Fins | 1 | | Addon |
| Inertial Damper | 1 | | Emitter |
| Siege Mount | 2 | | -10 Thor's Hammer, Mount |
| Coffin Maker | 1 | | Field Ammo |
| Phaser | 1 | 7305 | Gun |
| Naquadah Gen. | 1 | | Reactor |
| Carnot Engine | 1 | | Sublight Drives |
+------------------+-------+--------+-------------------------------------------+ ; all these lines should show up neatly formatted in the Text area, but don't.
Gui, Show, w700 h240
return |
What am I missing here? I've tried putting 'n directly into the text, but no matter what, it ignores the end of line and only ends when it catches the word wrap.
EDIT: I've read the continuation section but feel I am missing something. |
|
| Back to top |
|
 |
Guest
|
Posted: Mon May 12, 2008 5:00 am Post subject: |
|
|
| Code: | Str=
(
+------------------+
| Javelin |
+------------------+-------+--------+-------------------------------------------+
| Item Name | Count | Ammo | Item Types |
+------------------+-------+--------+-------------------------------------------+
| Aphasic Plating | 1 | | Armor |
| G-Ammo | 7305 | | Gun Ammo |
| B-Ammo | 753 | | Bomb Ammo |
| Heat Reaver | 1 | 753 | Signature, Bomb |
| Power Strip | 1 | | Addon |
| Maneuvering Fins | 1 | | Addon |
| Inertial Damper | 1 | | Emitter |
| Siege Mount | 2 | | -10 Thor's Hammer, Mount |
| Coffin Maker | 1 | | Field Ammo |
| Phaser | 1 | 7305 | Gun |
| Naquadah Gen. | 1 | | Reactor |
| Carnot Engine | 1 | | Sublight Drives |
+------------------+-------+--------+-------------------------------------------+ ; all these lines should show up neatly formatted in the Text area, but don't.
)
Gui, Add, Edit, +Border w660 h100, %Str%
Gui, Show, w700 h240
return |
|
|
| Back to top |
|
 |
ImprisonedPride
Joined: 30 Apr 2008 Posts: 18
|
Posted: Mon May 12, 2008 5:02 am Post subject: |
|
|
Thanks...  |
|
| 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
|