Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
191
Добавлен:
11.05.2015
Размер:
4.96 Mб
Скачать

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Top

Returns or sets object upper top

Read/

Can be written only when

 

position.

Write

formatting idle or active.

TopLineStyle

Returns or sets top line style.

Read/

Can be written only when

 

 

Write

formatting idle or active.

 

 

 

 

ViewingAngle

Gets or sets viewing angle.

Read/

Can be written only when

 

 

Write

formatting idle.

Width

Returns or sets object width.

Read/

Can be written only when

 

 

Write

formatting idle or active.

 

 

 

 

XAxisTitle

Gets or sets X-Axis title.

Read/

Can be written only when

 

 

Write

formatting idle.

Y2AxisTitle

Gets or sets Y2-Axis title.

Read/

Can be written only when

 

 

Write

formatting idle.

 

 

 

 

YAxisTitle

Gets or sets Y-Axis title.

Read/

Can be written only when

 

 

Write

formatting idle.

GroupNameFieldDefinition Object

The GroupNameFieldDefinition Object provides properties and methods for retrieving information and setting options for a group name field found in a report (i.e., number of group, value type, etc.). A GroupNameFieldDefinition Object is obtained from the Field property of the FieldObject Object (page 45), when the specified field is a group name field.

GroupNameFieldDefinition Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

GroupNameField

Returns group name field name.

Read only

None

Name

 

 

 

 

 

 

 

GroupNumber

If the area is a group, this returns

Read only

None

 

the group number. Otherwise,

 

 

 

exception is thrown.

 

 

 

 

 

 

Kind

Returns CRFieldKind (see table

Read only

None

 

below) which specifies what

 

 

 

“kind” of field (i.e., database,

 

 

 

summary, formula, etc.).

 

 

 

 

 

 

Constant

Value

 

 

 

 

crDatabaseField

1

 

 

Report Designer Component Object Model

64

Constant

Value

 

 

 

 

crFormulaField

2

 

 

crGroupNameField

5

crParameterField

6

 

 

crRunningTotalField

7

 

 

crSpecialVarField

4

 

 

crSQLExpressionField

8

crSummaryField

3

 

 

Property

Description

 

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Name

Returns the name of the group name

 

Read only

None

 

field.

 

 

 

 

 

 

 

 

 

 

NextValue

Returns next field value.

 

Read only

Can be read only when top-

 

 

 

 

 

 

level Report object is

 

 

 

 

 

 

formatting active.

 

 

 

 

 

 

 

NumberOfBytes

Returns the number of bytes

 

Read only

None

 

required to store the field data in

 

 

 

 

memory.

 

 

 

Parent

Reference to the Parent Object

 

Read only

None

 

(Report Object (page 93)).

 

 

 

 

 

 

 

 

 

 

PreviousValue

Returns previous field value.

 

Read only

Can be read only when top-

 

 

 

 

 

 

level Report object is

 

 

 

 

 

 

formatting active.

Value

Returns field value.

 

Read only

Can be read only when top-

 

 

 

 

 

 

level Report object is

 

 

 

 

 

 

formatting active.

 

 

 

 

 

 

 

ValueType

Returns CRFieldValueType (see table

 

Read only

None

 

below) which specifies the “type” of

 

 

 

 

value found in the field.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Constant

 

Value

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

crBitmapField

 

17

 

 

 

 

 

 

 

 

 

crBlobField

 

15

 

 

 

crBooleanField

 

9

 

 

 

 

 

 

 

 

 

 

crChartField

 

21

 

 

 

 

 

 

 

 

 

 

crCurrencyField

 

8

 

 

 

 

 

 

 

 

 

 

crDateField

 

10

 

 

 

 

 

 

 

 

 

crDateTimeField

 

16

 

Report Designer Component Object Model

65

Соседние файлы в папке crystal