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 FieldsFor example, the following statement changes the title of the custtable tablefield:field(custtable).title = 'Customer Information';To change the visual properties of the title, use the TitleTrim attribute, whichhas a data type of FreeTrim object. The syntax is:field(tablefield).TitleTrim.attribute = valueattributeSpecifies an attribute of the FreeTrim objectFor example, the following statement sets the background color of the table'stitle:field(custtable).titletrim.bgcolor = CC_PALE_BLUE;Table HeaderThe table header displays the column titles of the table field. OpenROAD letsyou display or remove this header and change its appearance and boundaryline.To access the visual characteristics of the table header, use the TableHeaderattribute of the TableField object. The data type of this attribute is StackField.The syntax is:field(tablefield).TableHeader.attribute = valueattributeSpecifies an attribute of the StackField object. For example, the followingstatement sets the pattern of the table header's bounding line:field(custtable).tableheader.outlinecolor = CC_PALE_BLUE;For more information about working with column headers, see How You CanDisplay and Remove Column Headers (see page 245).Column TitlesYou can change a column's title text or its visual appearance. To change thetext, use the following syntax:field(tablefield[*].column).Title = title_stringWorking with Arrays, Table Fields, and Collections 231

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

Saved successfully!

Ooh no, something went wrong!