Return the line on which the cursor is positioned in the current Unifield.


Return Values

Line number where the cursor is currently positioned in the Uniface field editor.


Use in Form components, but only applicable to Unifields.


The $curline function enables you to refer to particular lines of a field.

Using $curline

The following example uses $curline to provide context-sensitive help. The user positions the cursor on a particular line in the field and activates the help trigger for that line:

trigger help
  help $text("%%$curline%%%_HLP")
end; help

Related Topics