Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

Visible property

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

property Visible: Boolean;

Description

This property determines whether the console application’s console window is to be displayed.

When Visible is True then any console window is displayed. When the property is False the console window is hidden.

This property defaults to False.

Remarks

Setting the Visible property to False does not prevent a console window from being created, it is just not displayed.

If a console application shares a console this property has no effect. See UseNewConsole for more information about shared consoles.

The property is public in TPJConsoleApp and protected in TPJCustomConsoleApp.