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.

Table FieldsJust as each table field and each column in the table field has an associatedobject, each cell in a table field also has an associated CellAttribute object.However, because of their negative impact on performance, CellAttributes areby default turned off when a table field is created. CellAttributes can be turnedon explicitly with the HasCellAttributes property. Or they can be turned onimplicitly by changing a single cell's attribute (see Individual Cells (seepage 233)). They can be freed up by turning off HasCellAttributes, but thisresets all attributes back to the protofield's attributes.For more information about setting CellAttribute objects on, see How You CanTurn CellAttributes On (see page 246). For more information about TableField,ColumnField, and CellAttribute objects, see the Language Reference <strong>Guide</strong>online help.Table Field ComponentsA table field is made up of many individual parts, such as its scroll bar, its title,its columns, and its outlines. OpenROAD lets you change many of thecharacteristics of these parts so that you can customize a table field asneeded.This section describes the parts of a table field, tells you what kinds of changesyou can make to each part, and shows you the correct 4GL syntax to referenceeach part.In most cases, you must use the field function in your 4GL code to access theproperties of a table field (created in OpenROAD Workbench) or its parts.Using the field function accesses the reference variable that points to theTableField object. Referring to the table field without using the field functionrefers to the array displayed by the table field. For a full description of the fieldfunction, see Working with Classes (see page 113).Working with Arrays, Table Fields, and Collections 229

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

Saved successfully!

Ooh no, something went wrong!