2022-11-13 08:15:05 +00:00
|
|
|
|
Module ConsoleAPI
|
|
|
|
|
Public Sub NewLine(str As String)
|
|
|
|
|
Console.TextBox1.Text = Console.TextBox1.Text & Environment.NewLine & str
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
Public Sub AddLine(str As String)
|
|
|
|
|
Console.TextBox1.Text = Console.TextBox1.Text & str
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
Public Sub ResetLine(str As String)
|
|
|
|
|
Console.TextBox1.Text = str
|
|
|
|
|
End Sub
|
|
|
|
|
|
2022-11-14 03:25:13 +00:00
|
|
|
|
Public Sub Undeveloped()
|
|
|
|
|
NewLine("Oopsie! It's only for newer version")
|
|
|
|
|
End Sub
|
|
|
|
|
|
2022-11-13 08:15:05 +00:00
|
|
|
|
Public Sub TextRebind()
|
|
|
|
|
Console.TextBox1.Select(Console.TextBox1.Text.Length, 0)
|
|
|
|
|
Console.TextBox1.ScrollToCaret()
|
|
|
|
|
End Sub
|
2022-11-13 14:22:42 +00:00
|
|
|
|
|
|
|
|
|
Public Sub TextRebindBehind()
|
|
|
|
|
'Console.TextBox1.Select(Console.TextBox1.Lines.Length - 1, 0)
|
|
|
|
|
Console.TextBox1.Select(Console.TextBox1.Lines.Length - 1, 0)
|
|
|
|
|
Console.TextBox1.ScrollToCaret()
|
|
|
|
|
End Sub
|
2022-11-13 08:15:05 +00:00
|
|
|
|
End Module
|