Difference between revisions of "TConsoleShell"
From Ultibo.org
(Created page with "Return to Unit Console Shell __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collap...") |
|||
Line 291: | Line 291: | ||
<br /> | <br /> | ||
<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;">procedure TConsoleShell.OutputLine(ASession:TConsoleSession;const AValue:String);</pre> | + | <pre style="border: 0; padding-bottom:0px;">procedure TConsoleShell.OutputLine(ASession:TConsoleSession; const AValue:String);</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' Output all characters in value and update the cursor position</div> | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' Output all characters in value and update the cursor position</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;"> |
Revision as of 01:00, 1 May 2018
Return to Unit Console Shell
Description
To be documented
Class definitions
[Expand]
TConsoleShell = class(TShell)
Function declarations
[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.DestroyWindow(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