Class TCustomConsole (unit Console)

Inherits from

TComponent

Constructors


constructor Create( anOwner :TComponent );



Functions

procedure Close;


destructor Destroy;


procedure Open;


function ReadLine( const Prompt :String ) :String;


function ReadString( cbLength :Integer ) :String;


procedure WriteLine( const L :String );


procedure WriteString( const S :String );


procedure CloseConsole;


procedure CreateConsole;


procedure DestroyConsole;


function GetTitle :String;


procedure OpenConsole;


procedure UpdateCOnsoleTitle;


Properties

property Active : Boolean


property AutoOpen : Boolean


property Title : string


Events

event OnClose : TNotifyEvent


event OnOpen : TNotifyEvent


Variables

FActive : Boolean;


FAutoOpen : Boolean;


FOnClose : TNotifyEvent;


FOnOpen : TNotifyEvent;



Constructors


constructor Create( anOwner :TComponent );


Functions


procedure Close;


destructor Destroy;


procedure Open;


function ReadLine( const Prompt :String ) :String;


function ReadString( cbLength :Integer ) :String;


procedure WriteLine( const L :String );


procedure WriteString( const S :String );


procedure CloseConsole;


procedure CreateConsole;


procedure DestroyConsole;


function GetTitle :String;


procedure OpenConsole;


procedure UpdateCOnsoleTitle;


Properties


property Active : Boolean


property AutoOpen : Boolean


property Title : string


Events


event OnClose : TNotifyEvent


event OnOpen : TNotifyEvent


Variables


FActive : Boolean;


FAutoOpen : Boolean;


FOnClose : TNotifyEvent;


FOnOpen : TNotifyEvent;