Version 6.3.8 for Windows
 —  Dialog Component Reference  —

INPUT-SET-SELECTION Action

This document covers the following topics:


Description

Selects an area (position to position) in an Edit Area Control or in an Input Field Control .

Top of page

Parameters

Name/Data Type Explanation
HANDLE OF EDITAREA or

INPUTFIELD

Input

Specifies an Edit Area Control or an Input Field Control.

Position from (I4) Input

Selection starts from this position onwards.

Position to (I4) Input

Last selected position. If you specify "0", the selection will extend to the last character.

Response (I4) Output

Natural error (if applicable).

Example:

   #POSITION-FROM := 10  /* Select from the 10th to the 22nd character  
   #POSITION-TO := 22 
   PROCESS GUI ACTION INPUT-SET-SELECTION WITH #EA-1 #POSITION-FROM #POSITION-TO 
   GIVING #RESPONSE 

Top of page