FieldStyle()

Category: Design

Syntax: FieldStyle ( fileName; layoutName; fieldName )

Parameters:

fileNameThe name of the open file where the field is located.

layoutNameThe name of the layout where the field is used.

fieldNameThe name of the field for which to return results.

Data type returned: Text

Description:

Returns a space-delimited string indicating the field style and any associated value list. The field styles are

Standard

Scrolling

Popuplist

Popupmenu

Checkbox

RadioButton

Calendar

Calls to FieldStyle() that rely on literal object names may be broken if file, layout, or field names are changed.

Examples:

Function

Results

FieldStyle ( Get ( FileName ); "Invoice_Detail"; "Notes" )

Might return Scrolling for a notes field that has scrollbars turned on.

FieldStyle ( Get ( FileName ); "Invoice_Detail"; "Paid" )

Might return RadioButton Yes_No for a field formatted as a radio button that uses a value list called Yes_No.

Категории