Xbasic
Field_Rules.Mode_Get Function
Syntax
Mode as N = .Mode_Get()
Arguments
- Mode
Possible modes are:
- Mode
- Definition
- 0
Read mode
- 1
Change mode
Description
Determines the current data entry mode of the pointer.
Discussion
The .Mode_Get() method determines the current data entry mode of the pointer.
Example
dim tbl as P
dim fr as P
tbl = table.open("invoice_header")
fr = tbl.rules_get()
? fr.mode_get()
= 0
fr.change_begin()
? fr.mode_get()
= 1
fr.change_end(.t.)
tbl.close()Limitations
Desktop applications only.
See Also