You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Positions the cursor in a given field on a screen or subfile.
Syntax
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
#myscreen_wrapper.SetCursorToField Name(SURNAME)
 
Parameters

Name

Char 256 – Required

String that specifies the name of the field to position the cursor at. 

Index

Integer - Optional

An Integer that specifies the subfile row of the field.
Note: the specified row index must exist in the current subfile page.

 |
 
Return Value
None
Examples
 
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
#myscreen_wrapper.setcursortofield Name(SURNAME) Index(3)

  • No labels