1. two things regarding Ascii modes

-What command would you use to stop the screen from scrolling
 up when you print text at the bottom most row?
-How can you maybe get rid of those vertical gaps that are 
 placed inbetween two characters at left and right?

new topic     » topic index » view message » categorize

2. Re: two things regarding Ascii modes

Funkbrat wrote:
> 
> -What command would you use to stop the screen from scrolling
>  up when you print text at the bottom most row?
> -How can you maybe get rid of those vertical gaps that are 
>  placed inbetween two characters at left and right?

  Hello Funkbrat,

Are you talking Dos or Windows?

If Dos Wait_key()

Don Cole

new topic     » goto parent     » topic index » view message » categorize

3. Re: two things regarding Ascii modes

I was referring to DOS.
Also, I meant a command to make it it so you could place text on the bottom
most row without it causing the text to go upward.  If you place text on row 25
in a 25 row mode, it will scroll everything upward and place it on the 24th or
23rd row.  I want to prevent this and keep it on the 25th row.  (It will
actually
be the 28th row in a 28 row mode, but it's the same situation.)

new topic     » goto parent     » topic index » view message » categorize

4. Re: two things regarding Ascii modes

Funkbrat wrote:
> I was referring to DOS.
> Also, I meant a command to make it it so you could place text on the bottom
> most row without it causing the text to go upward.  If you place text on row
> 25
> in a 25 row mode, it will scroll everything upward and place it on the 24th
> or
> 23rd row.  I want to prevent this and keep it on the 25th row.  (It will
> actually
> be the 28th row in a 28 row mode, but it's the same situation.)

Try:
wrap(0)  -- turns off line-wrap


wrap() is in euphoria\include\graphics.e

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: two things regarding Ascii modes

Funkbrat wrote:
> 
> I was referring to DOS.
> Also, I meant a command to make it it so you could place text on the bottom
> most row without it causing the text to go upward.  If you place text on row
> 25
> in a 25 row mode, it will scroll everything upward and place it on the 24th
> or
> 23rd row.  I want to prevent this and keep it on the 25th row.  (It will
> actually
> be the 28th row in a 28 row mode, but it's the same situation.)

Not sure what you want to achieve.
If the previous text you printed ended with a \n, then the console will honor
the line break and, if that would lead to printing past the last visible row,
scroll up one line first so that printed text is visible.
If you position the cursor, using position(), on line 25 and then print
something that fits on the line, without a trailing CR, then no scrolling will
occur.

CChris

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu