$curline

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

$curline

Return Values

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

Use

Use in Form components, but only applicable to Unifields.

Description

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