Difference between revisions of "TConsoleShell"

From Ultibo.org
Jump to: navigation, search
 
Line 113: Line 113:
 
|-
 
|-
 
| <code>property DefaultSession:TShellSession read FDefaultSession;</code>
 
| <code>property DefaultSession:TShellSession read FDefaultSession;</code>
 +
| &nbsp;
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>function DoReset(ASession:TShellSession):Boolean; override;</code>
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-
Line 436: Line 441:
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 
<pre style="border: 0; padding-bottom:0px;">function TConsoleShell.DestroyWindow(ASession:TShellSession):Boolean;</pre>
 
<pre style="border: 0; padding-bottom:0px;">function TConsoleShell.DestroyWindow(ASession:TShellSession):Boolean;</pre>
 +
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
! Note
 +
| None documented
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 +
<pre style="border: 0; padding-bottom:0px;">function TConsoleShell.DoReset(ASession:TShellSession):Boolean;</pre>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">

Latest revision as of 00:37, 14 December 2018

Return to Unit Console Shell


Description


To be documented

Class definitions



[Expand]

TConsoleShell = class(TShell)


Function declarations



[Expand]
constructor TConsoleShell.Create(AConsole:PConsoleDevice);
Description: To be documented


[Expand]
destructor TConsoleShell.Destroy;
Description: To be documented


[Expand]
procedure TConsoleShell.Reset(ASession:TConsoleSession);
Description: To be documented


[Expand]
procedure TConsoleShell.MoveFirst(ASession:TConsoleSession);
Description: Move the cursor to the starting position of the line


[Expand]
procedure TConsoleShell.MoveLast(ASession:TConsoleSession);
Description: Move the cursor to the ending position of the line


[Expand]
procedure TConsoleShell.MoveLeft(ASession:TConsoleSession);
Description: Move the cursor one position to the left in the line


[Expand]
procedure TConsoleShell.MoveRight(ASession:TConsoleSession);
Description: Move the cursor one position to the right in the line


[Expand]
procedure TConsoleShell.EraseLine(ASession:TConsoleSession);
Description: Erase all characters in the line and reset the cursor position


[Expand]
procedure TConsoleShell.OutputLine(ASession:TConsoleSession; const AValue:String);
Description: Output all characters in value and update the cursor position


[Expand]
function TConsoleShell.ExpandLine(ASession:TConsoleSession):Boolean;
Description: Expand the tab key to a command completion if available


[Expand]
procedure TConsoleShell.EraseCharacter(ASession:TConsoleSession);
Description: Erase the character to the left of the cursor position


[Expand]
procedure TConsoleShell.DeleteCharacter(ASession:TConsoleSession);
Description: Delete the character to the right of the cursor position


[Expand]
procedure TConsoleShell.InsertCharacter(ASession:TConsoleSession; ACh:Char);
Description: Insert a character at the cursor position


[Expand]
procedure TConsoleShell.OverwriteCharacter(ASession:TConsoleSession; ACh:Char);
Description: Overwrite the character at the cursor position


[Expand]
procedure TConsoleShell.PrevHistory(ASession:TConsoleSession);
Description: Get the previous command history value


[Expand]
procedure TConsoleShell.NextHistory(ASession:TConsoleSession);
Description: Get the next command history value


[Expand]
procedure TConsoleShell.FirstHistory(ASession:TConsoleSession);
Description: Get the first command history value


[Expand]
procedure TConsoleShell.LastHistory(ASession:TConsoleSession);
Description: Get the last command history value


[Expand]
procedure TConsoleShell.CurrentHistory(ASession:TConsoleSession);
Description: Get the current command history value


[Expand]
function TConsoleShell.CreateWindow:TShellSession;
Description: To be documented


[Expand]
function TConsoleShell.DestroyWindow(ASession:TShellSession):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoReset(ASession:TShellSession):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoClear(ASession:TShellSession):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoInput(ASession:TShellSession; var AInput:String):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoOutputEx(ASession:TShellSession; const AOutput:String; AReturn:Boolean):Boolean; 
Description: To be documented


[Expand]
function TConsoleShell.DoGetSize(ASession:TShellSession; var ARows,ACols:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoSetSize(ASession:TShellSession; ARows,ACols:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoGetCursor(ASession:TShellSession; var ARow,ACol:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoSetCursor(ASession:TShellSession; ARow,ACol:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoGetColors(ASession:TShellSession; var AForecolor,ABackcolor:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoSetColors(ASession:TShellSession; AForecolor,ABackcolor:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoGetCoordinates(ASession:TShellSession; var ARow,ACol:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoSetCoordinates(ASession:TShellSession; ARow,ACol:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoGetCursorMode(ASession:TShellSession; var AMode:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoSetCursorMode(ASession:TShellSession; AMode:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.DoGetCursorShape(ASession:TShellSession; var AShape:LongWord):Boolean; 
Description: To be documented


[Expand]
function TConsoleShell.DoSetCursorShape(ASession:TShellSession; AShape:LongWord):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.ConsoleChar(ASession:TShellSession; AChar:Char):Boolean;
Description: To be documented


[Expand]
function TConsoleShell.ConsoleExtended(ASession:TShellSession; AChar:Char):Boolean;
Description: To be documented


Return to Unit Reference