Line_Size - DfBaseList

Returns number of columns of a grid or number windows per line of a menu

Type: Property

Access: Read-Only

Data Type: Integer

Parameters: None

Syntax
 Property Integer Line_Size

Read Access: Get Line_Size to IntegerVariable


Description

The Line_size property returns the number of columns of a grid object or the number of windows per line of a menu object.

In menus, this width is used along with the display_size to determine the number of rows of a rectangular area of windows.

Sample

This sample shows how to obtain the number of columns in a Grid.

Procedure DoSomething
    integer iColumns
    
    get Line_Size to iColumns

    :
End_Procedure  // DoSomething


Sample

Sample for a menu object.

get line_size of (abox(self)) to width