OutputDocument.ShowWindow

Prototypes

void ShowWindow( <boolean bShow> )

Parameters

boolean bShow
If bShow is true, the LISTING output document window is displayed. If bShow is false, the LISTING output document window is hidden. Calling this method without a parameter is equivalent to calling it with bShow equal to true.

Remarks

This method shows or hides the LISTING output document window.

Example
declare OutputDocument NormalDoc, CountdownDoc;
NormalDoc = OutputDocument.GetDefault();
CountdownDoc = OutputDocument.Create( false, false );
CountdownDoc.SetWindowPosition( 85, 0, 15, 15 );
CountdownDoc.ShowThinWindowBorder();
CountdownDoc.ShowWindow();

do i = 10 to 1 by -1;
    CountdownDoc.Clear();
    CountdownDoc.SetTextSize( 32 );
    CountdownDoc.SetDefault();
    Runtime.Print( (String)(int)i );
    NormalDoc.SetDefault();

    /* simulated work */
    x = T( ranuni( 1:5 ) );
    print x;
    run Delay( 750 );
end;

CountdownDoc.Close();
See Also

OutputDocument.ActivateWindow