Board index » delphi » How do I get out of a window?

How do I get out of a window?

Hello

    I am not in graphics mode.
    I have clrscr; and new part of my program begins. I have some delays in
this part and eventually it displays a window with some information in
it...with Press Enter to continue at the bottom. At this point I try and use
a clrscr; and a goto statement to wipe out the entire screen including the
window and display a new part of the program. With what I'm doing the
clrscr; just clears the window and my gotos take me to those coordinates in
the window. How do I get out of the window to continue my program?

Thanks!

    :) Evan Anderson

 

Re:How do I get out of a window?


On 2000-04-21 e...@pcsnow.com said:
   -this point I try and use a clrscr; and a goto statement to wipe out
   -the entire screen including the window and display a new part of
   -the program. With what I'm doing the clrscr; just clears the window
   -and my gotos take me to those coordinates in the window. How do I
   -get out of the window to continue my program?

To do this part, you first have to open a new window,
containing the full screen:

   WINDOW( 01, 01, 25, 80 );

Then use ClrScr; and Gotos.

regards,
Bria

Re:How do I get out of a window?


JRS:  In article <8dqkh5$...@news.dx.net> of Fri, 21 Apr 2000 17:44:57
seen in news:comp.lang.pascal.borland, Evan Anderson <e...@pcsnow.com>
wrote:

Quote
>    I am not in graphics mode.
>    I have clrscr; and new part of my program begins. I have some delays in
>this part and eventually it displays a window with some information in
>it...with Press Enter to continue at the bottom. At this point I try and use
>a clrscr; and a goto statement to wipe out the entire screen including the
>window and display a new part of the program. With what I'm doing the
>clrscr; just clears the window and my gotos take me to those coordinates in
>the window. How do I get out of the window to continue my program?

I assume that these are the Window routine in TP/BP, and nothing to do
with the Windows OS.

From memory, you cannot get out; but you never got in in the first
place.  You are always in a window; but by default it is full-screen.
Before making a small window, save WindMin & WindMax; after, restore
them or call window with parameters being the Hi & Lo of each of those.

See the on-line help, or the manual.

--
? John Stockton, Surrey, UK.  j...@merlyn.demon.co.uk   Turnpike v4.00   MIME. ?
 Web <URL: http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
 Proper 4-line sig. separator is as above, a line exactly "-- " (SonOfRFC1036)
 Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)

Other Threads