Class UIGRID

Name

UIGRID  --  Class of grid for placement widgets.

Synopsis

 UIGrid([<o>],<grow>,<gcol>,[<spacing>],[<padding>])	--> UIGrid object
 
 
 
 
 
 

Description

Class UIGrid

Attributes

<className> - Class name. Value should be "UIGrid".

Methods

ADD Add widget to grid.
SETALIGNMENT Set alignment of widgets in grid.
SETEQUALSIZEISEQUAL Set equals cells size for widget placement.
SETPADDING Set grid border width.
SETSPACING Set space between widgets in grid.
UIGRID Constructor. Create grid for placement widgets.

Method UIGRID:ADD()

 add(<o>,<pos>,[<h_expand>],[<v_expand>])

Method UIGRID:SETALIGNMENT()

 setAlignment(<align>,<valign>)

Method UIGRID:SETEQUALSIZEISEQUAL()

 setEqualSize(<isEqual>)

Method UIGRID:SETPADDING()

 setPadding(<space>)

Method UIGRID:SETSPACING()

 setSpacing(<space>)

Method UIGRID:UIGRID()

 UIGrid([<o>],<grow>,<gcol>,[<spacing>],[<padding>])	--> UIGrid object

Example:

 grid  := UIGrid( , 2, 2 )
 label  := UILabel( "Label:" )
 ed_box := UIEdit()
 grid:add( label, "1,1" )
 grid:add( ed_box, "1,2", .T. )
 

Platforms

No dependies of platform.