SIMPOL Documentation

printform1

Description

Type Tags

printform1, dataform1, dataform1linkcontainer

Object Value

Objects of type printform1 have no value, and it is an error to try to get or set this value.

printform1.new()

Description

Prototype

printform1.new ( printform1 me, integer defpagewidth, integer defpageheight, integer defpagebackcolor, string defbooleanformat, string defintegerformat, string defnumberformat, string defdateformat, string deftimeformat, string defdatetimeformat, SBLlocaledateinfo defdatelocale, SBLNumSettings defnumericlocale, wxfont deffont, boolean createdisplayform, string printpreviewtitle, string currentworkingdirectory, boolean loading, integer error )

Parameters

ParameterDefault valueType nameDescription
meNoneprintform1
defpagewidth210000integer
defpageheight297000integer
defpagebackcolor16777215integer
defbooleanformatT|Fstring
defintegerformat.string
defnumberformat999999.00string
defdateformatyyyy.0m.0dstring
deftimeformathh:mm:ssstring
defdatetimeformatNonestring
defdatelocaleNoneSBLlocaledateinfo
defnumericlocaleNoneSBLNumSettings
deffontNonewxfont
createdisplayform.falseboolean
printpreviewtitleSuperbase NG Print Formstring
currentworkingdirectoryNonestring
loading.falseboolean
errorNoneinteger

Properties

PropertyTypeDescription
_type(*)
__type(*)
_privateprintform1private
addbitmapfunction
addcontrolfunction
adddatasourcefunction
addgraphicfunction
addpagefunction
addsiblinglinkfunction
addtablefunction
assignfilterobjectfunction
bitmapsdring
blankfunction
builddisplayformfunction
centeroverdisplayboolean
clearsiblinglinksfunction
containertype(wxcontainer)
controlsdring
createdisplayformboolean
currentpageprintform1page
currentworkingdirectorystring
datasourcesdring
defbooleanformatstring
defdateformatstring
defdatelocaleSBLlocaledateinfo
defdatetimeformatstring
deffontwxfont
defintegerformatstring
defnumberformatstring
defnumericlocaleSBLNumSettings
defpagebackcolorinteger
defpageheightinteger
defpagewidthinteger
deftimeformatstring
designmodeboolean
dirtyboolean
filenamestring
filterdataform1filter
findbitmapsourcefunction
findcontrolfunction
finddatasourcefunction
findgraphicfunction
findsiblinglinkfunction
findtablefunction
fontsarray
getfieldandtablefunction
getfontfunction
graphicsdring
lastusedrecorddataform1record
loadingboolean
lockfunction
lockedboolean
masterrecorddataform1record
mastertabledataform1table
namestring
nameinusefunction
onsaveevent
onselectevent
pagesdring
printfunction
printpreviewtitlestring
refreshfunction
removedisplayformfunction
saverecordfunction
selectcurrentfunction
selectfirstfunction
selectkeyfunction
selectlastfunction
selectnextfunction
selectpreviousfunction
setcontainerfunction
setdirtystatefunction
setfilterfunction
setlastusedrecordfunction
setmasterrecordfunction
setmastertablefunction
showpagefunction
siblinglinksdring
startat100percentboolean
tablesdring
typetype
unlockfunction
validboolean

Methods

!()

Description

Prototype

printform1var.! ( printform1 me, string controlname )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
controlnameNonestring

addbitmap()

Description

Prototype

printform1var.addbitmap ( printform1 me, string filename, string format, blob rgb, integer width, integer height, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
filenameNonestring
formatxpmstring
rgbNoneblob
widthNoneinteger
heightNoneinteger
errorNoneinteger

addcontrol()

Description

Prototype

printform1var.addcontrol ( printform1 me, type controltype, integer printleft, integer printtop, integer printwidth, integer printheight, string text, boolean visible, wxbitmap bitmap, string scaling, integer backgroundrgb, integer textrgb, string printalignment, wxfont font, string printname, boolean backgroundvisible, boolean undergraphics, boolean underbitmaps, type(printform1control) next, printform1page page, type(db1field) field, dataform1table table, string displayformat, boolean skipbitmapcheck, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
controltypeNonetype
printleftNoneinteger
printtopNoneinteger
printwidthNoneinteger
printheightNoneinteger
textNonestring
visible.trueboolean
bitmapNonewxbitmap
scalingNonestring
backgroundrgbNoneinteger
textrgb0integer
printalignmentNonestring
fontNonewxfont
printnameNonestring
backgroundvisible.trueboolean
undergraphics.falseboolean
underbitmaps.falseboolean
nextNonetype(printform1control)
pageNoneprintform1page
fieldNonetype(db1field)
tableNonedataform1table
displayformatNonestring
skipbitmapcheck.falseboolean
errorNoneinteger

adddatasource()

Description

Prototype

printform1var.adddatasource ( printform1 me, type(*) datasource, string source, string username, string password, integer codepage, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
datasourceNonetype(*)
sourceNonestring
usernameNonestring
passwordNonestring
codepageNoneinteger
errorNoneinteger

addgraphic()

Description

Prototype

printform1var.addgraphic ( printform1 me, type graphictype, point printpoint1, point printpoint2, point printpoint3, point printmidpoint, integer rgb, integer borderrgb, integer width, integer borderwidth, boolean visible, boolean bordervisible, string printname, type(printform1graphic) next, printform1page page, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
graphictypeNonetype
printpoint1Nonepoint
printpoint2Nonepoint
printpoint3Nonepoint
printmidpointNonepoint
rgbNoneinteger
borderrgbNoneinteger
widthNoneinteger
borderwidthNoneinteger
visibleNoneboolean
bordervisibleNoneboolean
printnameNonestring
nextNonetype(printform1graphic)
pageNoneprintform1page
errorNoneinteger

addpage()

Description

Prototype

printform1var.addpage ( printform1 me, integer width, integer height, integer backgroundrgb, printform1page after, string name, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
widthNoneinteger
heightNoneinteger
backgroundrgbNoneinteger
afterNoneprintform1page
nameNonestring
errorNoneinteger

addsiblinglink()

Description

Prototype

printform1var.addsiblinglink ( printform1 me, type(db1field) srcfield, dataform1table srctable, type(db1field) destfield, dataform1table desttable, type(dataform1linkcontainer) container, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
srcfieldNonetype(db1field)
srctableNonedataform1table
destfieldNonetype(db1field)
desttableNonedataform1table
containerNonetype(dataform1linkcontainer)
errorNoneinteger

addtable()

Description

Prototype

printform1var.addtable ( printform1 me, type(db1table) table, dataform1datasource source, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
tableNonetype(db1table)
sourceNonedataform1datasource
errorNoneinteger

assignfilterobject()

Description

Prototype

printform1var.assignfilterobject ( printform1 me, dataform1filter dffilter )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
dffilterNonedataform1filter

blank()

Description

Prototype

printform1var.blank ( printform1 me, boolean datacontrolsonly )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
datacontrolsonly.trueboolean

builddisplayform()

Description

Prototype

printform1var.builddisplayform ( printform1 me, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
errorNoneinteger

clearsiblinglinks()

Description

Prototype

printform1var.clearsiblinglinks ( printform1 me )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1

findbitmapsource()

Description

Prototype

printform1var.findbitmapsource ( printform1 me, string sourcename )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
sourcenameNonestring

findcontrol()

Description

Prototype

printform1var.findcontrol ( printform1 me, string controlname )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
controlnameNonestring

finddatasource()

Description

Prototype

printform1var.finddatasource ( printform1 me, string sourcename )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
sourcenameNonestring

findgraphic()

Description

Prototype

printform1var.findgraphic ( printform1 me, string graphicname )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
graphicnameNonestring

findsiblinglink()

Description

Prototype

printform1var.findsiblinglink ( printform1 me, dataform1table desttable )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
desttableNonedataform1table

findtable()

Description

Prototype

printform1var.findtable ( printform1 me, string tablename )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
tablenameNonestring

getfieldandtable()

Description

Prototype

printform1var.getfieldandtable ( printform1 me, string fieldname, string tablename )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
fieldnameNonestring
tablenameNonestring

getfont()

Description

Prototype

printform1var.getfont ( printform1 me, string facename, integer size, string style, string weight, string decoration )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
facenameNonestring
sizeNoneinteger
styleNonestring
weightNonestring
decorationNonestring

lock()

Description

Prototype

printform1var.lock ( printform1 me, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
errorNoneinteger

nameinuse()

Description

Prototype

printform1var.nameinuse ( printform1 me, string controlname )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
controlnameNonestring

print()

Description

Prototype

printform1var.print ( printform1 me, boolean showprintpreview, string dialogdata, wxprintout printout, integer formno, boolean closeprintout, boolean skipcontent, pagesetupinfo psinfo, boolean showprinterdialog, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
showprintpreview.trueboolean
dialogdataNonestring
printoutNonewxprintout
formno1integer
closeprintout.trueboolean
skipcontent.falseboolean
psinfoNonepagesetupinfo
showprinterdialog.falseboolean
errorNoneinteger

refresh()

Description

Prototype

printform1var.refresh ( printform1 me )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1

removedisplayform()

Description

Prototype

printform1var.removedisplayform ( printform1 me )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1

saverecord()

Description

Prototype

printform1var.saverecord ( printform1 me, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
lock.falseboolean
errorNoneinteger

selectcurrent()

Description

Prototype

printform1var.selectcurrent ( printform1 me, type(db1index) index, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
indexNonetype(db1index)
lock.falseboolean
errorNoneinteger

selectfirst()

Description

Prototype

printform1var.selectfirst ( printform1 me, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
lock.falseboolean
errorNoneinteger

selectkey()

Description

Prototype

printform1var.selectkey ( printform1 me, anyvalue value, type(db1index) index, boolean lock, boolean found, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
valueNoneanyvalue
indexNonetype(db1index)
lock.falseboolean
foundNoneboolean
errorNoneinteger

selectlast()

Description

Prototype

printform1var.selectlast ( printform1 me, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
lock.falseboolean
errorNoneinteger

selectnext()

Description

Prototype

printform1var.selectnext ( printform1 me, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
lock.falseboolean
errorNoneinteger

selectprevious()

Description

Prototype

printform1var.selectprevious ( printform1 me, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
lock.falseboolean
errorNoneinteger

setcontainer()

Description

Prototype

printform1var.setcontainer ( printform1 me, type(wxcontainer) container )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
containerNonetype(wxcontainer)

setdirtystate()

Description

Prototype

printform1var.setdirtystate ( printform1 me, boolean dirty )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
dirty.trueboolean

setfilter()

Description

Prototype

printform1var.setfilter ( printform1 me, string filter, string errtext, integer errindex )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
filterNonestring
errtextNonestring
errindexNoneinteger

setlastusedrecord()

Description

Prototype

printform1var.setlastusedrecord ( printform1 me, dataform1record record )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
recordNonedataform1record

setmasterrecord()

Description

Prototype

printform1var.setmasterrecord ( printform1 me, type(db1record) r, boolean dorefresh, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
rNonetype(db1record)
dorefresh.trueboolean
errorNoneinteger

setmastertable()

Description

Prototype

printform1var.setmastertable ( printform1 me, dataform1table table )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
tableNonedataform1table

showpage()

Description

Prototype

printform1var.showpage ( printform1 me, integer pagenum )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1
pagenumNoneinteger

unlock()

Description

Prototype

printform1var.unlock ( printform1 me )

Parameters
ParameterDefault valueType nameDescription
meNoneprintform1