Author |
Message |
Mr. T

|
Posted: Fri May 27, 2005 11:40 pm Post subject: cls with dual screens |
|
|
My program consists of two screens. One for the game and one for the score. I was wondering if it is possible to cls one screen without affecting the other? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Bacchus

|
Posted: Fri May 27, 2005 11:45 pm Post subject: (No subject) |
|
|
yes, just set the active screen to the one that you want to clear then cls it |
|
|
|
|
 |
Mr. T

|
Posted: Fri May 27, 2005 11:56 pm Post subject: (No subject) |
|
|
yes, but i need a delay before my cls. that delay seems to affect both screens...  |
|
|
|
|
 |
Bacchus

|
Posted: Fri May 27, 2005 11:59 pm Post subject: (No subject) |
|
|
the delay isnt for a specific screen, its in your code. so what its doing it delaying the code from running for the specified amount of time then clearing the one screen. Id say in your main loop or watever store the Time.Elapsed to a variable and then every time it comes back to that area check to see if the Time.Elapsed - var_used_b4 is enouph for the delay you want then clear it |
|
|
|
|
 |
Mr. T

|
Posted: Sat May 28, 2005 12:03 am Post subject: Alex's Opinion |
|
|
nvm, i got it to work with an evil process
thanks anyways |
|
|
|
|
 |
c0bra54

|
Posted: Sat May 28, 2005 12:26 am Post subject: (No subject) |
|
|
*GASP* surely you have read the evil's of process's,.. cause ya know they are evil .. and TOTALLY unnessesary.. we had this discussion alreayd.. post your prg somewhere.. we will get rid of that nasty process for ya  |
|
|
|
|
 |
Mr. T

|
Posted: Sat May 28, 2005 12:54 am Post subject: Alex's Opinion |
|
|
ok, im gonna post another topic...cuz i have another question too  |
|
|
|
|
 |
|