Chapter 64. recordview
trecordview
Description
Type Tags
None
Object Value
Objects of type trecordview have no value, and it is an error to try to get or set this value.
trecordview.new()
Description
Prototype
trecordview
.new
(
trecordview
,
integer me
,
integer width
,
type(db1table) height
,
type(db1index) table
,
type(wxcontainer) idx
,
string window
,
string defboolean
,
string definteger
,
string defnumber
,
string defdate
,
string deftime
,
SBLlocaledateinfo defdatetime
,
SBLNumSettings datelocale
,
wxfont numlocale
,
type(db1record) font
,
tdataview record
,
boolean dataview
,
string useview
,
integer inifilename
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
width | None | integer | |
height | None | integer | |
table | None | type(db1table) | |
idx | None | type(db1index) | |
window | None | type(wxcontainer) | |
defboolean | T|F | string | |
definteger | . | string | |
defnumber | 999999.00 | string | |
defdate | yyyy.0m.0d | string | |
deftime | hh:mm:ss | string | |
defdatetime | None | string | |
datelocale | None | SBLlocaledateinfo | |
numlocale | None | SBLNumSettings | |
font | None | wxfont | |
record | None | type(db1record) | |
dataview | None | tdataview | |
useview | .false | boolean | |
inifilename | None | string | |
error | None | integer |
Properties
Property | Type | Description |
---|---|---|
_ | type(*) | |
__ | type(*) | |
_private | trecordviewprivate | |
assignfilterobject | function | |
clear | function | |
columninfo | array | |
columninfoview | array | |
currentview | tdataview | |
datelocale | SBLlocaledateinfo | |
defboolean | string | |
defdate | string | |
defdatetime | string | |
definteger | string | |
defnumber | string | |
deftime | string | |
deleterecord | function | |
displayformat | string | |
displaymessages | boolean | |
duplicaterecord | function | |
filter | dataform1filter | |
font | wxfont | |
form | dataform1 | |
getcolinfo | function | |
getindexdisplayformat | function | |
grid | dataform1grid | |
gridinfo | trecordviewgridinfo | |
height | integer | |
hide | function | |
idx | type(db1index) | |
inifilename | string | |
isdirty | boolean | |
isreadonly | boolean | |
lastusedrecord | type(db1record) | |
messagetitle | string | |
newrecord | function | |
numlocale | SBLNumSettings | |
ondelete | event | |
onnewrecord | event | |
onsave | event | |
record | type(db1record) | |
resize | function | |
saverecord | function | |
selectcurrent | function | |
selectfforward | function | |
selectfirst | function | |
selectkey | function | |
selectlast | function | |
selectnext | function | |
selectprevious | function | |
selectrewind | function | |
setdataview | function | |
setfilter | function | |
setinitialrecord | function | |
setlastusedrecord | function | |
setreadonly | function | |
settable | function | |
show | function | |
showview | function | |
table | type(db1table) | |
temprecord | type(db1record) | |
type | type | |
updategrid | function | |
useview | boolean | |
width | integer | |
window | type(wxcontainer) |
Methods
assignfilterobject()
Description
Prototype
trecordviewvar
.assignfilterobject
(
trecordview
,
dataform1filter me
)
dffilter
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
dffilter | None | dataform1filter |
clear()
Description
Prototype
trecordviewvar
.clear
(
trecordview
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview |
deleterecord()
Description
Prototype
trecordviewvar
.deleterecord
(
trecordview
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
error | None | integer |
duplicaterecord()
Description
Prototype
trecordviewvar
.duplicaterecord
(
trecordview
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
error | None | integer |
getcolinfo()
Description
Prototype
trecordviewvar
.getcolinfo
(
trecordview
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview |
getindexdisplayformat()
Description
Prototype
trecordviewvar
.getindexdisplayformat
(
trecordview
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview |
hide()
Description
Prototype
trecordviewvar
.hide
(
trecordview
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview |
newrecord()
Description
Prototype
trecordviewvar
.newrecord
(
trecordview
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview |
resize()
Description
Prototype
trecordviewvar
.resize
(
trecordview
,
integer me
,
integer width
)
height
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
width | None | integer | |
height | None | integer |
saverecord()
Description
Prototype
trecordviewvar
.saverecord
(
trecordview
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
error | None | integer |
selectcurrent()
Description
Prototype
trecordviewvar
.selectcurrent
(
trecordview
,
type(db1index) me
,
boolean index
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
index | None | type(db1index) | |
lock | .false | boolean | |
error | None | integer |
selectfforward()
Description
Prototype
trecordviewvar
.selectfforward
(
trecordview
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
error | None | integer |
selectfirst()
Description
Prototype
trecordviewvar
.selectfirst
(
trecordview
,
boolean me
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
lock | .false | boolean | |
error | None | integer |
selectkey()
Description
Prototype
trecordviewvar
.selectkey
(
trecordview
,
anyvalue me
,
boolean value
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
value | None | anyvalue | |
lock | .false | boolean | |
error | None | integer |
selectlast()
Description
Prototype
trecordviewvar
.selectlast
(
trecordview
,
boolean me
,
integer lock
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
lock | .false | boolean | |
error | None | integer |
selectnext()
Description
Prototype
trecordviewvar
.selectnext
(
trecordview
,
boolean me
,
boolean lock
,
integer ignorefastselection
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
lock | .false | boolean | |
ignorefastselection | .false | boolean | |
error | None | integer |
selectprevious()
Description
Prototype
trecordviewvar
.selectprevious
(
trecordview
,
boolean me
,
boolean lock
,
integer ignorefastselection
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
lock | .false | boolean | |
ignorefastselection | .false | boolean | |
error | None | integer |
selectrewind()
Description
Prototype
trecordviewvar
.selectrewind
(
trecordview
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
error | None | integer |
setdataview()
Description
Prototype
trecordviewvar
.setdataview
(
trecordview
,
array me
,
string fieldlist
,
tdataview name
,
boolean dataview
,
integer useview
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
fieldlist | None | array | |
name | None | string | |
dataview | None | tdataview | |
useview | .true | boolean | |
error | None | integer |
setfilter()
Description
Prototype
trecordviewvar
.setfilter
(
trecordview
,
string me
,
string filter
,
integer errtext
)
errindex
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
filter | None | string | |
errtext | None | string | |
errindex | None | integer |
setinitialrecord()
Description
Prototype
trecordviewvar
.setinitialrecord
(
trecordview
,
type(db1record) me
,
boolean r
,
integer dorefresh
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
r | None | type(db1record) | |
dorefresh | .false | boolean | |
error | None | integer |
setlastusedrecord()
Description
Prototype
trecordviewvar
.setlastusedrecord
(
trecordview
,
type(db1record) me
)
record
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
record | None | type(db1record) |
setreadonly()
Description
Prototype
trecordviewvar
.setreadonly
(
trecordview
,
boolean me
)
setreadonly
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
setreadonly | .false | boolean |
show()
Description
Prototype
trecordviewvar
.show
(
trecordview
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview |
showview()
Description
Prototype
trecordviewvar
.showview
(
trecordview
,
boolean me
)
show
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
show | .true | boolean |
updategrid()
Description
Prototype
trecordviewvar
.updategrid
(
trecordview
,
type(db1record) me
)
r
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | trecordview | |
r | None | type(db1record) |