Chapter 25. consolelib
tConsole
Description
Type Tags
None
Object Value
Objects of type tConsole have no value, and it is an error to try to get or set this value.
tConsole.new()
Description
Prototype
tConsole
.new
(
tConsole
,
integer me
,
integer left
,
integer top
,
integer width
,
string height
,
integer caption
,
integer backcolor
,
function textcolor
,
type(*) onclose
,
string oncloseref
,
integer fontname
,
integer fontsize
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | tConsole | |
left | 1 | integer | |
top | 1 | integer | |
width | 600 | integer | |
height | 400 | integer | |
caption | Console | string | |
backcolor | 0 | integer | |
textcolor | 16777215 | integer | |
onclose | None | function | |
oncloseref | None | type(*) | |
fontname | Lucida Console | string | |
fontsize | 9 | integer | |
error | None | integer |
Properties
Property | Type | Description |
---|---|---|
_private | tConsolePrivate | |
caption | string | |
clear | function | |
close | function | |
framewindow | wxwindow | |
inputform | wxform | |
inputtext | wxformedittext | |
inputwindow | wxwindow | |
onclose | event | |
outputform | wxform | |
outputtext | wxformedittext | |
outputwindow | wxwindow | |
read | function | |
type | type | |
write | function |
Methods
clear()
Description
Prototype
tConsolevar
.clear
(
tConsole
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | tConsole |
close()
Description
Prototype
tConsolevar
.close
(
tConsole
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | tConsole |
read()
Description
Prototype
tConsolevar
.read
(
tConsole
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | tConsole |
write()
Description
Prototype
tConsolevar
.write
(
tConsole
,
string me
)
text
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | tConsole | |
text | None | string |