Lingo Dictionary > T-Z > tabs

 

tabs

Syntax

member(whichTextMember).tabs

Description

Text cast member property; this property contains a list of all the tab stops set in the text cast member.

Each element of the list contains information regarding that tab for the text cast member. The possible properties in the list are as follows:

#type

Can be #left, #center, #right, or #decimal.

#position

Integer value indicating the position of the tab in points.


You can get and set this property. When tabs is set, the type property is optional. If type is not specified, the tab type defaults to #left.

Example

This statement retrieves and displays in the Message window all the tabs for the text cast member Intro credits:

put member("Intro credits").tabs
-- [[#type: #left, #position: 36], [#type: #Decimal, #position: 141],  \[#type: #right, #position: 216]]