Version 6.3.8 für Windows
 —  Dialog Component Reference  —

SET-TABS Action

This document covers the following topics:


Description

Sets tabulator stops in a List Box Control even if the font in the List Box Control is proportional. The tabulator stops apply to the STRING attribute in any item of the List Box Control.

Top of page

Parameters

Name/Data Type Explanation
HANDLE OF LISTBOX Input

Handle of the List Box Control.

Tabstop (I4) Input

The tabstop is measured in units of one quarter of the system font's average width. You can enter this parameter any number of times (in ascending order). In the list box items' STRING, you determine the place of the tabstop by inserting the HORIZONTAL-TAB character (defined in the local data area NGULKEY1). Inserting this character will move the following STRING text to the next tabstop.

Response (I4) Output

Natural error (if applicable).

Example:

 
   PROCESS GUI ACTION SET-TABS WITH #LB-1 50 100 150 GIVING #RESPONSE 
   COMPRESS 'HELLO' HORIZONTAL-TAB 'HUGO' TO #STRING 
   PROCESS GUI ACTION ADD-ITEMS WITH #LB-1 1 #STRING  

Top of page