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

SQLExpressionFieldDefinitions Collection Properties

Property

Description

Read/Write

Restriction in

event handler

 

 

 

 

 

 

 

 

 

 

 

Count

The number of SQLExpressionFieldDefinition Object

Read only

None

 

(page 115), in the collection.

 

 

 

 

 

 

Item

Returns SQLExpressionFieldDefinition Object (page

Read only

None

 

115). Item has an index parameter that can be either a

 

 

 

string reference to the database field name or a

 

 

 

numeric, 1-based index (that is, Item (1)) for the first

 

 

 

database field in the collection. When a numeric index

 

 

 

is used, the items in the collection are indexed in the

 

 

 

order they were added to the report.

 

 

 

 

 

 

Parent

Reference to the Parent object.

Read only

None

 

 

 

 

Remarks

Instead of using the Item property as shown, you can reference a database directly, for example, SQLExpressionFieldDefinition(“Product ID”) or SQLExpressionFieldDefinition(1).

SubreportObject Object

The SubreportObject Object represents a subreport found in a report. A subreport is a free-standing or linked report found within the main report. This object provides properties for retrieving information on the subreport (i.e., name, etc.).

SubreportObject Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

BackColor

Returns or sets the object

Read/Write

Can be written only when

 

background color.

 

formatting idle or active.

BorderColor

Returns or sets the object

Read/Write

Can be written only when

 

border color.

 

formatting idle or active.

 

 

 

 

BottomLineStyle

Returns or sets the bottom line

Read/Write

Can be written only when

 

style.

 

formatting idle or active.

CanGrow

Returns or sets the can grow

Read/Write

Can be written only when

 

option.

 

formatting idle or active.

 

 

 

 

CloseAtPageBreak

Returns or sets close border on

Read/Write

Can be written only when

 

page break.

 

formatting idle or active.

Report Designer Component Object Model

118

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

EnableOnDemand

Gets out of place subreport

Read only

None

 

option.

 

 

HasDropShadow

Returns or sets drop shadow.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

Height

Returns or sets object height.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

KeepTogether

Returns or sets keeping area

Read/Write

Can be written only when

 

together option.

 

formatting idle or active.

 

 

 

 

Kind

Returns CRObjectKind (see

Read only

None

 

table below) that specifies

 

 

 

what “kind” of object (i.e., box,

 

 

 

cross-tab, field).

 

 

 

 

 

 

Constant

Value

 

 

 

 

crBlobFieldObject

9

 

 

crBoxObject

4

 

 

crCrossTabObject

8

crFieldObject

1

 

 

crGraphObject

7

 

 

crLineObject

3

 

 

crMapObject

10

crOleObject

6

crSubreportObject

5

 

 

crTextObject

2

 

 

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Left

Returns or sets object upper

Read/Write

Can be written only when

 

left position.

 

formatting idle or active.

 

 

 

 

LeftLineStyle

Returns or sets left line style.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

Name

Returns the name of the

Reference to

Can be written only when

 

subreport.

the Parent

formatting idle or active.

 

 

object (Section

 

 

 

Object (page

 

 

 

107)). Read

 

 

 

only

 

 

 

 

 

Parent

Reference to the Parent object

Read only

None

 

(Section Object (page 107)).

 

 

 

 

 

 

Report Designer Component Object Model

119

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