SIMPOL Documentation

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 me, integer left, integer top, integer width, integer height, string caption, integer backcolor, integer textcolor, function onclose, type(*) oncloseref, string fontname, integer fontsize, integer error )

Parameters

ParameterDefault valueType nameDescription
meNonetConsole
left1integer
top1integer
width600integer
height400integer
captionConsolestring
backcolor0integer
textcolor16777215integer
oncloseNonefunction
oncloserefNonetype(*)
fontnameLucida Consolestring
fontsize9integer
errorNoneinteger

Properties

PropertyTypeDescription
_privatetConsolePrivate
captionstring
clearfunction
closefunction
framewindowwxwindow
inputformwxform
inputtextwxformedittext
inputwindowwxwindow
oncloseevent
outputformwxform
outputtextwxformedittext
outputwindowwxwindow
readfunction
typetype
writefunction

Methods

clear()

Description

Prototype

tConsolevar.clear ( tConsole me )

Parameters
ParameterDefault valueType nameDescription
meNonetConsole

close()

Description

Prototype

tConsolevar.close ( tConsole me )

Parameters
ParameterDefault valueType nameDescription
meNonetConsole

read()

Description

Prototype

tConsolevar.read ( tConsole me )

Parameters
ParameterDefault valueType nameDescription
meNonetConsole

write()

Description

Prototype

tConsolevar.write ( tConsole me, string text )

Parameters
ParameterDefault valueType nameDescription
meNonetConsole
textNonestring