EDIT-LINE-GET-SELECTION Action

This document covers the following topics:


Description

Retrieves the extent of the selected area (lines and columns) in an Edit Area Control.

Parameters

Name/Data Type Explanation
HANDLE OF EDITAREA Input

Specifies an Edit Area Control.

Line from (I4) Output

Selection starts from this line onwards.

Column from (I4) Output

Selection starts from this column onwards.

Line to (I4) Output

Last selected line.

Column to (I4) Output

The column position immediately following the last selected character.

Response (I4) Output

Natural error (if applicable).

Example:

   PROCESS GUI ACTION 
   EDIT-LINE-GET-SELECTION WITH #EA-1 
   #LINE-FROM #COLUMN-FROM 
   #LINE-TO #COLUMN-TO GIVING #RESPONSE