SATGUI Examples - addEntries

addEntries {1,1 {8,15 {Field_1} {Field_2} {Field_3}} {8,15 {Field_4} {} {Field_5}}}

Note: A null entry item will display a gap equal to the size of one Entry Item in the grid.


addEntries {1,1 10 {8,15 {Field_1} {Field_2} {Field_3}} {8,15 {Field_4} {} {Field_5}}}

Note: Specifying 10 as the pad size sets the gap between columns to ten characters.


addEntries {1,1 {8,15 {Field_1 focus} {Field_2} {Field_3}} {8,15 {Field_4} {} {Field_5}}}

Note: Entry item options can be specified for each Entry item, in this case focus for Field_1.


addEntries {1,1 {8,15 {Field_1} {Field_2 5} {Field_3}} {8,15 {Field_4} {} {Field_5}}}

Note: If the first "option" for an entry is a number it is used to override the entry size set for the column.


addEntries {1,1 {8,15 {Field_1} {Field_2 5 focus} {Field_3}} {8,15 {Field_4} {} {Field_5}}}

Note: Options can also be used with the entry size override.


addEntries {1,1 {7,9 {Field_1} {Field_2}} {9,5 {Field_3} {Field_4}} {7,12 {Field_5} {Field_6}}}

Note: The label and entry sizes can be set differently for each column.


Copyright © 2000 Adrian Davis.