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 FieldsThis syntax references the Title attribute of the column's ColumnField object.Title = title_stringData type: varchar(256)Specifies a title, which can be a quoted literal or a varchar variableUse the TitleTrim attribute of the ColumnField object to access the visualattributes of the title. TitleTrim is a FreeTrim object. The syntax is:field(tablefield[*].column).TitleTrim.attribute = valueattributeSpecifies an attribute of the FreeTrim object. For example, the followingstatement changes the title of the custname column to boldface:field(custtable[*].custname).TitleTrim.IsBold = TRUE;Column FieldYou can change a variety of a column's visual characteristics. To access thesecharacteristics, use the following syntax:field(tablefield[*].column).attribute = valueattributeSpecifies an attribute of the ColumnField object. For example, the followingstatement sets the background pattern of the custname column in thecusttable table field:field(custtable[*].custname).bgpattern=FP_SHADE;Prototype FieldThe prototype field is not an actual physical area on a table field, but rather atemplate for all the fields in the column. You can access this field in the FrameEditor by choosing the first row of the table field. You can access this templatein 4GL through the ProtoField attribute of the ColumnField object. TheProtoField attribute's data type is FormField.232 <strong>Programming</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!