Xbasic
OBJECT.CURSOR_GET Function
Syntax
Cursor_Position as N = .Cursor_get()
Description
Shows cursor information on browses and forms.
Discussion
The <OBJECT>.CURSOR_GET() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.CURSOR_GET() method returns the character position of the cursor. The cursor must be placed on a field of an open layout that is in change mode.
Example
The following example shows the location of the column and character position of the cursor on a browse.
dim ptr as P
ptr = browse.view("CustomerBrowse")
? ptr.Active_Drilldown()
= ":CustomerBrowse:Phone_Number"
? ptr.cursor_get()
= 177.000000Limitations
Desktop applications only.
See Also