 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Fri Jul 18, 2008 12:37 am Post subject: GUI, Text Scrolling |
|
|
Okay, I'm making a GUI that displays the status of what it's doing.
I'm going for something like a command prompt look, so I have the colors done, but now I'm having problems getting a scroll bar onto it, so you can scroll up and view earlier status messages.
Here is my code so far:
| Code: |
Gui, Font, S8 CWhite, Lucida Console
Gui, Add, Text, VScroll x32 y12 w420 h380 , Text`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`nText`n
Gui, Color, 000000
Gui, Show, x408 y156 h408 w479, New GUI Window
Return
GuiClose:
ExitApp
|
See what I am trying to do? But the scroll seems to not want to do its job lol.
I am hoping what I am trying to do is possible.
Also, I am wondering, when I change the status, I'm just adding more, so would I want to use:
| Code: |
Gui, Add, Text, (coordanates), Text No.1`nText No.3
SLEEP 500
Gui, Add, Text, (Same coords), Text No.1`nText No.3`nText No.4
|
??
Because I don't want to keep adding texts until it starts to get slow and unstable. Is there a way to delete one, and then add another.. or maybe just add onto the already existent one?
Thank you all, you guys are great. |
|
| Back to top |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 332 Location: Canada
|
Posted: Fri Jul 18, 2008 1:00 am Post subject: |
|
|
would openin it in a "ListBox" be better than a text? _________________ "I reject your ReAlItY and Substitute with my Own"
_______________________________________
Pie Is exactly 3! |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Jul 18, 2008 3:42 am Post subject: Re |
|
|
No, see I need the option of changing colors. Listbox doesn't change colors. (Text/Background)
Thanks for the reply though. |
|
| Back to top |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 332 Location: Canada
|
Posted: Fri Jul 18, 2008 3:23 pm Post subject: |
|
|
not sure then srry _________________ "I reject your ReAlItY and Substitute with my Own"
_______________________________________
Pie Is exactly 3! |
|
| Back to top |
|
 |
BoBo² Guest
|
Posted: Fri Jul 18, 2008 3:59 pm Post subject: |
|
|
@ SpiderGames
think about to shrink/rescale your signatures "spider-image" because it blows up the thread unnecessarily. Thanks for listening.  |
|
| Back to top |
|
 |
aka_bigred Guest
|
Posted: Sat Jul 19, 2008 3:29 pm Post subject: |
|
|
I am having the same issue, vScroll displays a scroll bar, but it won't actually scroll my text gui. It's like the scroll bar is locked into the default position.
My gui setup code is nearly identical to SpiderGams'
I'm using the latest build of AHK too, version 1.0.47.06 |
|
| 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
|