10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ArraysManipulating Arrays and Table FieldsOpenROAD lets you add, delete, or change values in an array. You can alsomanipulate such aspects of a table field as:• Its visual characteristicsYou can, for example, change the background color of the table field orany of its columns or cells. You can also modify any of the table field'strim.• The operations on the control buttonYou can delete or modify default operations or add your own. You can alsoremove the control button from display. You can dynamically enable ordisable menu items.• The scroll barYou can remove the scroll bar from display.• Individual cells or columnsYou can highlight individual cells or columns or make a given columninvisible.How You Can Reference Table FieldsThroughout this chapter, references to arrayname and tablefield_name in thesyntax are synonymous. Both refer to the array itself, because the table fieldand its associated array (ArrayObject) are identically named.To refer to the TableField object, use the field function with the table field'sname. The syntax is:field(tablefield_name)For more information about the field function, see How You Can ReferenceObjects (see page 114).ArraysYou can refer to an array as a whole or to an individual row or cell. (Individualcolumns are referenced only through the table field associated with the array.)For the syntax to reference each part of an array, see How You Can Referencean Array (see page 210).Working with Arrays, Table Fields, and Collections 207

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!