Class UIGRID

Name

UIGRID  --  Class of table 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 table.
SETALIGNMENT Set alignment of widgets in table.
SETEQUALSIZEISEQUAL Set equals cells size for widget placement.
SETPADDING Set table border width.
SETSPACING Set space between widget in table.
UIGRID Constructor. Create table 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:

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

Platforms

No dependies of platform.