Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Malarious
(4 posts) bio
|
| Date |
Tue 26 Jun 2012 02:28 AM (UTC) [ quote
] |
| Message |
I have a small window right now, it does not do very much because I just decided to start messing with windows. It can be "mini-tized" which makes it a sliver so its out of the way, I can drag it around. It shows some information, and I wrote a function to write to it. The problem I have is trying to erase... the way I currently do it is to draw a filled rectangle over the text. Is there a way to erase a previously line of text? That way I could do something like:
[*] [L: Senso] [R: Morph]
Status: OK
Target: Nick
Style: Bleeding
<free space to write in>
<free space to write in>
[MINITIZE]
I am hoping theres a way to erase a specific line to rewrite so I could have status be in green when OK, red when not, etc. without having to use a rectangle each time. Is there a way to do that? | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #1 on Tue 26 Jun 2012 02:35 AM (UTC) [ quote
] |
| Message |
Not really. Erasing in most contexts means replacing the "thing to be erased" with the background colour. Which is what drawing a rectangle over it does.
You can erase one line by getting the rectangle the right size. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
620 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )