Version 6.3.8 für Windows
 —  Dialog Component Reference  —

INPUT-GET-SELECTION Action

This document covers the following topics:


Description

Retrieves the position of the selected text in an Edit Area Control or in an Input Field Control from the beginning (character number) to the end (character number).

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) Output

Selection starts from this position onwards.

Position to (I4) Output

Last selected position.

Response (I4) Output

Natural error (if applicable).

Example:

 
   PROCESS GUI ACTION INPUT-GET-SELECTION WITH #EA-1 #POSITION-FROM #POSITION-TO 
   GIVING #RESPONSE 
   #IF-1.STRING := #POSITION-FROM /* Display the result in these two 
   #IF-2.STRING := #POSITION-TO   /* Input Field Controls 

Top of page