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
,
integer me
,
integer defpagewidth
,
integer defpageheight
,
string defpagebackcolor
,
string defbooleanformat
,
string defintegerformat
,
string defnumberformat
,
string defdateformat
,
string deftimeformat
,
SBLlocaledateinfo defdatetimeformat
,
SBLNumSettings defdatelocale
,
wxfont defnumericlocale
,
boolean deffont
,
string createdisplayform
,
string printpreviewtitle
,
boolean currentworkingdirectory
,
integer loading
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
defpagewidth | 210000 | integer | |
defpageheight | 297000 | integer | |
defpagebackcolor | 16777215 | integer | |
defbooleanformat | T|F | string | |
defintegerformat | . | string | |
defnumberformat | 999999.00 | string | |
defdateformat | yyyy.0m.0d | string | |
deftimeformat | hh:mm:ss | string | |
defdatetimeformat | None | string | |
defdatelocale | None | SBLlocaledateinfo | |
defnumericlocale | None | SBLNumSettings | |
deffont | None | wxfont | |
createdisplayform | .false | boolean | |
printpreviewtitle | Superbase NG Print Form | string | |
currentworkingdirectory | None | string | |
loading | .false | boolean | |
error | None | integer |
Properties
Property | Type | Description |
---|---|---|
_ | type(*) | |
__ | type(*) | |
_private | printform1private | |
addbitmap | function | |
addcontrol | function | |
adddatasource | function | |
addgraphic | function | |
addpage | function | |
addsiblinglink | function | |
addtable | function | |
assignfilterobject | function | |
bitmaps | dring | |
blank | function | |
builddisplayform | function | |
centeroverdisplay | boolean | |
clearsiblinglinks | function | |
container | type(wxcontainer) | |
controls | dring | |
createdisplayform | boolean | |
currentpage | printform1page | |
currentworkingdirectory | string | |
datasources | dring | |
defbooleanformat | string | |
defdateformat | string | |
defdatelocale | SBLlocaledateinfo | |
defdatetimeformat | string | |
deffont | wxfont | |
defintegerformat | string | |
defnumberformat | string | |
defnumericlocale | SBLNumSettings | |
defpagebackcolor | integer | |
defpageheight | integer | |
defpagewidth | integer | |
deftimeformat | string | |
designmode | boolean | |
dirty | boolean | |
filename | string | |
filter | dataform1filter | |
findbitmapsource | function | |
findcontrol | function | |
finddatasource | function | |
findgraphic | function | |
findsiblinglink | function | |
findtable | function | |
fonts | array | |
getfieldandtable | function | |
getfont | function | |
graphics | dring | |
lastusedrecord | dataform1record | |
loading | boolean | |
lock | function | |
locked | boolean | |
masterrecord | dataform1record | |
mastertable | dataform1table | |
name | string | |
nameinuse | function | |
onsave | event | |
onselect | event | |
pages | dring | |
function | ||
printpreviewtitle | string | |
refresh | function | |
removedisplayform | function | |
saverecord | function | |
selectcurrent | function | |
selectfirst | function | |
selectkey | function | |
selectlast | function | |
selectnext | function | |
selectprevious | function | |
setcontainer | function | |
setdirtystate | function | |
setfilter | function | |
setlastusedrecord | function | |
setmasterrecord | function | |
setmastertable | function | |
showpage | function | |
siblinglinks | dring | |
startat100percent | boolean | |
tables | dring | |
type | type | |
unlock | function | |
valid | boolean |
Methods
!()
Description
Prototype
printform1var
.!
(
printform1
,
string me
)
controlname
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
controlname | None | string |
addbitmap()
Description
Prototype
printform1var
.addbitmap
(
printform1
,
string me
,
string filename
,
blob format
,
integer rgb
,
integer width
,
integer height
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
filename | None | string | |
format | xpm | string | |
rgb | None | blob | |
width | None | integer | |
height | None | integer | |
error | None | integer |
addcontrol()
Description
Prototype
printform1var
.addcontrol
(
printform1
,
type me
,
integer controltype
,
integer printleft
,
integer printtop
,
integer printwidth
,
string printheight
,
boolean text
,
wxbitmap visible
,
string bitmap
,
integer scaling
,
integer backgroundrgb
,
string textrgb
,
wxfont printalignment
,
string font
,
boolean printname
,
boolean backgroundvisible
,
boolean undergraphics
,
type(printform1control) underbitmaps
,
printform1page next
,
type(db1field) page
,
dataform1table field
,
string table
,
boolean displayformat
,
integer skipbitmapcheck
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
controltype | None | type | |
printleft | None | integer | |
printtop | None | integer | |
printwidth | None | integer | |
printheight | None | integer | |
text | None | string | |
visible | .true | boolean | |
bitmap | None | wxbitmap | |
scaling | None | string | |
backgroundrgb | None | integer | |
textrgb | 0 | integer | |
printalignment | None | string | |
font | None | wxfont | |
printname | None | string | |
backgroundvisible | .true | boolean | |
undergraphics | .false | boolean | |
underbitmaps | .false | boolean | |
next | None | type(printform1control) | |
page | None | printform1page | |
field | None | type(db1field) | |
table | None | dataform1table | |
displayformat | None | string | |
skipbitmapcheck | .false | boolean | |
error | None | integer |
adddatasource()
Description
Prototype
printform1var
.adddatasource
(
printform1
,
type(*) me
,
string datasource
,
string source
,
string username
,
integer password
,
integer codepage
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
datasource | None | type(*) | |
source | None | string | |
username | None | string | |
password | None | string | |
codepage | None | integer | |
error | None | integer |
addgraphic()
Description
Prototype
printform1var
.addgraphic
(
printform1
,
type me
,
point graphictype
,
point printpoint1
,
point printpoint2
,
point printpoint3
,
integer printmidpoint
,
integer rgb
,
integer borderrgb
,
integer width
,
boolean borderwidth
,
boolean visible
,
string bordervisible
,
type(printform1graphic) printname
,
printform1page next
,
integer page
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
graphictype | None | type | |
printpoint1 | None | point | |
printpoint2 | None | point | |
printpoint3 | None | point | |
printmidpoint | None | point | |
rgb | None | integer | |
borderrgb | None | integer | |
width | None | integer | |
borderwidth | None | integer | |
visible | None | boolean | |
bordervisible | None | boolean | |
printname | None | string | |
next | None | type(printform1graphic) | |
page | None | printform1page | |
error | None | integer |
addpage()
Description
Prototype
printform1var
.addpage
(
printform1
,
integer me
,
integer width
,
integer height
,
printform1page backgroundrgb
,
string after
,
integer name
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
width | None | integer | |
height | None | integer | |
backgroundrgb | None | integer | |
after | None | printform1page | |
name | None | string | |
error | None | integer |
addsiblinglink()
Description
Prototype
printform1var
.addsiblinglink
(
printform1
,
type(db1field) me
,
dataform1table srcfield
,
type(db1field) srctable
,
dataform1table destfield
,
type(dataform1linkcontainer) desttable
,
integer container
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
srcfield | None | type(db1field) | |
srctable | None | dataform1table | |
destfield | None | type(db1field) | |
desttable | None | dataform1table | |
container | None | type(dataform1linkcontainer) | |
error | None | integer |
addtable()
Description
Prototype
printform1var
.addtable
(
printform1
,
type(db1table) me
,
dataform1datasource table
,
integer source
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
table | None | type(db1table) | |
source | None | dataform1datasource | |
error | None | integer |
assignfilterobject()
Description
Prototype
printform1var
.assignfilterobject
(
printform1
,
dataform1filter me
)
dffilter
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
dffilter | None | dataform1filter |
blank()
Description
Prototype
printform1var
.blank
(
printform1
,
boolean me
)
datacontrolsonly
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
datacontrolsonly | .true | boolean |
builddisplayform()
Description
Prototype
printform1var
.builddisplayform
(
printform1
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
error | None | integer |
clearsiblinglinks()
Description
Prototype
printform1var
.clearsiblinglinks
(
printform1
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 |
findbitmapsource()
Description
Prototype
printform1var
.findbitmapsource
(
printform1
,
string me
)
sourcename
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
sourcename | None | string |
findcontrol()
Description
Prototype
printform1var
.findcontrol
(
printform1
,
string me
)
controlname
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
controlname | None | string |
finddatasource()
Description
Prototype
printform1var
.finddatasource
(
printform1
,
string me
)
sourcename
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
sourcename | None | string |
findgraphic()
Description
Prototype
printform1var
.findgraphic
(
printform1
,
string me
)
graphicname
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
graphicname | None | string |
findsiblinglink()
Description
Prototype
printform1var
.findsiblinglink
(
printform1
,
dataform1table me
)
desttable
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
desttable | None | dataform1table |
findtable()
Description
Prototype
printform1var
.findtable
(
printform1
,
string me
)
tablename
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
tablename | None | string |
getfieldandtable()
Description
Prototype
printform1var
.getfieldandtable
(
printform1
,
string me
,
string fieldname
)
tablename
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
fieldname | None | string | |
tablename | None | string |
getfont()
Description
Prototype
printform1var
.getfont
(
printform1
,
string me
,
integer facename
,
string size
,
string style
,
string weight
)
decoration
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
facename | None | string | |
size | None | integer | |
style | None | string | |
weight | None | string | |
decoration | None | string |
lock()
Description
Prototype
printform1var
.lock
(
printform1
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
error | None | integer |
nameinuse()
Description
Prototype
printform1var
.nameinuse
(
printform1
,
string me
)
controlname
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
controlname | None | string |
print()
Description
Prototype
printform1var
.print
(
printform1
,
boolean me
,
string showprintpreview
,
wxprintout dialogdata
,
integer printout
,
boolean formno
,
boolean closeprintout
,
pagesetupinfo skipcontent
,
boolean psinfo
,
integer showprinterdialog
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
showprintpreview | .true | boolean | |
dialogdata | None | string | |
printout | None | wxprintout | |
formno | 1 | integer | |
closeprintout | .true | boolean | |
skipcontent | .false | boolean | |
psinfo | None | pagesetupinfo | |
showprinterdialog | .false | boolean | |
error | None | integer |
refresh()
Description
Prototype
printform1var
.refresh
(
printform1
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 |
removedisplayform()
Description
Prototype
printform1var
.removedisplayform
(
printform1
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 |
saverecord()
Description
Prototype
printform1var
.saverecord
(
printform1
,
boolean me
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
lock | .false | boolean | |
error | None | integer |
selectcurrent()
Description
Prototype
printform1var
.selectcurrent
(
printform1
,
type(db1index) me
,
boolean index
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
index | None | type(db1index) | |
lock | .false | boolean | |
error | None | integer |
selectfirst()
Description
Prototype
printform1var
.selectfirst
(
printform1
,
boolean me
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
lock | .false | boolean | |
error | None | integer |
selectkey()
Description
Prototype
printform1var
.selectkey
(
printform1
,
anyvalue me
,
type(db1index) value
,
boolean index
,
boolean lock
,
integer found
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
value | None | anyvalue | |
index | None | type(db1index) | |
lock | .false | boolean | |
found | None | boolean | |
error | None | integer |
selectlast()
Description
Prototype
printform1var
.selectlast
(
printform1
,
boolean me
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
lock | .false | boolean | |
error | None | integer |
selectnext()
Description
Prototype
printform1var
.selectnext
(
printform1
,
boolean me
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
lock | .false | boolean | |
error | None | integer |
selectprevious()
Description
Prototype
printform1var
.selectprevious
(
printform1
,
boolean me
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
lock | .false | boolean | |
error | None | integer |
setcontainer()
Description
Prototype
printform1var
.setcontainer
(
printform1
,
type(wxcontainer) me
)
container
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
container | None | type(wxcontainer) |
setdirtystate()
Description
Prototype
printform1var
.setdirtystate
(
printform1
,
boolean me
)
dirty
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
dirty | .true | boolean |
setfilter()
Description
Prototype
printform1var
.setfilter
(
printform1
,
string me
,
string filter
,
integer errtext
)
errindex
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
filter | None | string | |
errtext | None | string | |
errindex | None | integer |
setlastusedrecord()
Description
Prototype
printform1var
.setlastusedrecord
(
printform1
,
dataform1record me
)
record
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
record | None | dataform1record |
setmasterrecord()
Description
Prototype
printform1var
.setmasterrecord
(
printform1
,
type(db1record) me
,
boolean r
,
integer dorefresh
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
r | None | type(db1record) | |
dorefresh | .true | boolean | |
error | None | integer |
setmastertable()
Description
Prototype
printform1var
.setmastertable
(
printform1
,
dataform1table me
)
table
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
table | None | dataform1table |
showpage()
Description
Prototype
printform1var
.showpage
(
printform1
,
integer me
)
pagenum
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 | |
pagenum | None | integer |
unlock()
Description
Prototype
printform1var
.unlock
(
printform1
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | printform1 |