OutputDocument.ShowThinWindowBorder

Prototypes

void ShowThinWindowBorder( <boolean bThin> )

Parameters

boolean bThin
If bThin is true, the window is displayed with no title bar and a thin border. If bThin is false, the window is displayed with a title bar and a standard border. Calling this method without a parameter is equivalent to calling it with bThin equal to true.

Remarks

This method controls the LISTING output document window's border. When creating special purpose LISTING output document windows, it can be desirable to hide the title bar and to use a thin window border.

When the title bar is hidden, you cannot use the mouse to move or resize the window or to access the window's control menu. To solve this problem, press ALT+HYPHEN to display the window's control menu and then press 'B' to redisplay the title bar and return to a standard border.

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();