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

WindowZoom CopyFrom method

Declaration

function CopyFrom(Source: TCrpeWindowZoom): boolean;

Description

The CopyFrom method copies the WindowZoom property values from another TCrpeWindowZoom object. It is similar to Delphi's Assign method. It is useful for transferring or temporary storage of values.

Example

The following example copies all the WindowZoom property values to a temporary TCrpeWindowZoom object:

var

tempWindowZoom : TCrpeWindowZoom; begin

tempWindowZoom := TCrpeWindowZoom.Create; tempWindowZoom.CopyFrom(Crpe1.WindowZoom); {...later, when finished with the temp object...} tempWindowZoom.Free;

end;

WindowZoom Create method

Declaration

constructor Create;

Description

The Create method is used internally in the Crystal component and does not need to be called in code.

WindowZoom NextLevel method

Declaration

procedure NextLevel;

VCL Reference

714

Description

The NextLevel method advances the Preview level by one step.

If it is currently at pwNormal, it will go to pwPageWidth.

If it is at pwPageWidth it will go to pwWholePage.

If it is at pwWholePage it will go to pwNormal.

This property can be useful when designing a custom button bar, or custom Form that is to control the Preview Window.

Example

This code will advance the WindowZoom Preview level by one step:

Crpe1.WindowZoom.NextLevel;

WindowZoom Send method

Declaration

function Send: boolean;

Description

The Send method sends the WindowZoom values to the Crystal Reports Print Engine. This method is called automatically when the Execute method is called, provided that SendOnExecute is set to True.

It is strongly recommended that you leave SendOnExecute to True, and let the Crystal Reports component send the values to the Print Engine. If you set the SendOnExecute property to False, each Sub-class and each property that does not belong to a Sub-class must be manually sent before calling the Execute method. This feature is mainly provided for debugging purposes.

Example

In this example, the WindowZoom settings are sent from the Crystal component to the Crystal Reports Print Engine DLL. This is normally handled automatically in the Execute method:

Crpe1.WindowZoom.Send;

VCL Reference

715

I N D E X

C

 

Constants

 

DetailCopies......................

206

Empty String ......................

206

Export................................

206

Margins .............................

206

PrintOptions ......................

206

Section ..............................

206

E

 

Error Codes - Crystal Reports Print

Engine.................................

210

Error Codes - VCL

 

General .............................

207

Graphs ..............................

208

GroupCondition/

 

GroupOptions..................

208

GroupSortFields.................

208

LogOnInfo .........................

208

Parameter Fields ................

208

Printer ...............................

208

Sections.............................

209

SessionInfo ........................

209

SortFields...........................

209

SQL Params.......................

209

Subreports .........................

209

SummaryInfo .....................

209

Tables................................

210

Window ............................

210

Events

 

OnError .............................

166

OnExecuteBegin................

168

OnExecuteDoneSend ........

169

OnExecuteEnd...................

169

OnFieldMapping ...............

170

OnGetVersion ...................

172

OnJobOpened ...................

173

OnPrintEnded....................

174

OnPrinterSend...................

175

OnWindowClose...............

175

M

 

Methods

 

BooleanToStr.....................

132

CancelJob..........................

133

Clear .................................

133

CloseEngine.......................

136

CloseJob ............................

137

CloseWindow....................

137

CopyFrom .........................

138

Create................................

135

DateTimeToStr ..................

138

DateToStr ..........................

139

Destroy..............................

139

ExDateStr ...........................

140

ExDateTimeStr ...................

141

Execute ..............................

142

ExportWindow...................

140

ExTimeStr...........................

144

FloatingToStr......................

144

Focused .............................

145

GetPathFromAlias ..............

145

GetToken...........................

146

GetVersionInfo...................

147

HideWindow .....................

147

IsStrEmpty ..........................

148

LogOnPrivateInfo...............

148

OpenEngine.......................

151

OpenJob ............................

151

PrintWindow .....................

152

ReportWindowHandle .......

153

RetrieveDetailCopies..........

153

RetrieveFieldMapping ........

154

RetrieveReportTitle.............

154

RetrieveWindowState.........

154

SectionCodeToStr ..............

155

SendDetailCopies ..............

156

SendDialogParent ..............

156

SendDiscardSavedData ......

157

SendFieldMapping .............

157

SendOutput .......................

158

SendProgressDialog ...........

158

SendReportTitle .................

159

SetFocus ............................

159

ShowWindow ....................

160

StrToBoolean .....................

160

StrToDate...........................

161

StrToDateTime...................

161

StrToFloating......................

162

StrToSectionCode ..............

162

StrToTCrBoolean................

163

StrToTime ..........................

163

TCrBooleanToStr................

164

TimeToStr ..........................

164

TruncStr .............................

165

VerifyDatabase ..................

165

P

 

Properties

 

About.....................................

6

AreaFormat ............................

7

AreaFormat Methods............

10

AreaFormat Properties............

9

AreaFormatFormulas............

10

AreaFormatFormulas

 

Methods .............................

12

AreaFormatFormulas

 

Properties ...........................

12

CanCloseEngine ..................

13

Connect...............................

13

Connect Methods ................

15

Connect Properties ..............

15

ConnectMethod...................

15

DesignControls....................

17

DetailCopies........................

19

DialogParent .......................

20

DiscardSavedData ...............

21

Export..................................

21

Export Email Methods..........

24

Export Email Properties........

24

Export Methods ...................

25

Export Properties .................

24

FieldMapping ......................

26

Formulas .............................

27

Formulas Methods...............

29

Formulas Properties .............

29

GraphData ..........................

30

GraphData Methods ............

32

GraphData Properties ..........

31

GraphOptions .....................

32

GraphOptions Methods .......

34

GraphOptions Properties .....

33

GraphText ...........................

34

GraphText Methods.............

36

GraphText Properties...........

36

GraphType ..........................

36

GraphType Methods............

38

GraphType Properties..........

38

GroupCondition ..................

39

GroupCondition Methods....

40

GroupCondition

 

Properties...........................

40

GroupOptions .....................

41

GroupOptions Methods.......

43

GroupOptions Properties.....

42

GroupSelection ...................

43

GroupSelection Methods .....

45

GroupSelection Properties ...

45

GroupSortFields...................

46

GroupSortFields Methods ....

47

GroupSortFields

 

Properties...........................

47

HasSavedData.....................

47

IsJobFinished .......................

48

JobNumber..........................

49

LastErrorNumber .................

49

LastErrorString .....................

50

LoadEngineOnUse...............

51

LogOnInfo Methods.............

53

LogOnInfo Properties...........

53

LogOnServer .......................

54

LogOnServer Properties .......

56

Index-1

LonOnServer Methods.........

56

Margins ...............................

56

Margins Methods.................

57

Margins Properties...............

57

Output.................................

58

Pages...................................

59

Pages Methods ....................

60

Pages Properties ..................

60

ParamFields.........................

61

ParamFields Info Methods ...

65

ParamFields Info

 

Properties...........................

65

ParamFields Methods ..........

66

ParamFields Properties ........

64

ParamFields Ranges

 

Methods.............................

66

ParamFields Ranges

 

Properties...........................

65

PrintDate .............................

67

PrintDate Methods...............

67

PrintDate Properties.............

67

PrintEnded...........................

68

Printer .................................

68

Printer Methods ...................

81

Printer Properties .................

81

Printer, DevMode

 

Structure ............................

70

Printer, Setting Port

 

to FILE................................

80

PrintOptions ........................

81

PrintOptions Methods..........

83

PrintOptions Properties........

82

ProgressDialog ....................

83

Records ...............................

84

Records Methods.................

85

ReportName ........................

85

ReportOptions .....................

87

ReportOptions Methods.......

89

ReportOptions Properties.....

88

ReportTitle...........................

89

SectionFont .........................

90

SectionFont Methods ...........

92

SectionFont Properties .........

92

SectionFormat .....................

93

SectionFormat Methods .......

95

SectionFormat Properties .....

95

SectionFormatFormulas .......

96

SectionFormatFormulas

 

Methods.............................

98

SectionFormatFormulas

 

Properties...........................

98

SectionHeight......................

98

SectionHeight Methods .....

100

SectionHeight Properties ...

100

Selection............................

 

100

Selection Methods .............

 

104

Selection Properties ...........

 

104

SendOnExecute .................

 

104

SessionInfo.................

105, 106

SessionInfo Properties ........

 

106

SortFields ...........................

 

107

SortFields Methods.............

 

108

SortFields Properties...........

 

108

SQL ...................................

 

108

SQL Expressions

 

 

Methods ...........................

 

109

SQL Expressions

 

 

Properties .........................

 

109

SQL Methods .....................

 

111

SQL Params Methods.........

 

110

SQL Params Properties.......

110

SQL Properties ...................

 

109

Status .................................

 

111

Subreports..........................

 

112

Subreports Methods ...........

 

114

Subreports Properties .........

 

113

SummaryInfo .....................

 

114

SummaryInfo Methods .......

115

SummaryInfo Properties .....

115

Tables ................................

 

116

Tables Methods..................

 

117

Tables Properties................

 

117

Version ..............................

 

118

Version Methods................

 

119

Version Properties..............

 

119

WindowButtonBar .............

 

119

WindowButtonBar

 

 

Methods ...........................

 

121

WindowButtonBar

 

 

Properties .........................

 

121

WindowCursor ..................

 

121

WindowCursor Methods ....

123

WindowCursor

 

 

Properties .........................

 

123

WindowEvents...................

 

123

WindowParent...................

 

124

WindowSize ......................

 

126

WindowSize Methods........

 

127

WindowSize Properties......

127

WindowState .....................

 

127

WindowStyle .....................

 

128

WindowStyle Methods.......

129

WindowStyle Properties.....

129

WindowZoom ...................

 

130

WindowZoom Methods .....

130

WindowZoom

 

 

Properties .........................

 

130

T

 

TCrpe Component

 

Constants...........................

206

Error Codes - VCL

 

Component......................

207

Events................................

166

Introduction...........................

2

Methods ............................

131

Properties ..............................

2

Properties By Group ..............

5

Types.................................

200

WindowEvents ..................

176

Types

 

Custom Property Field .......

205

Enumerated, Export ...........

200

Enumerated,

 

FieldMapping...................

201

Enumerated, Formulas.......

201

Enumerated, General.........

200

Enumerated, Graph ...........

201

Enumerated, Margins.........

201

Enumerated, ParamFields ..

202

Enumerated, Printer/

 

PrintOptions ....................

202

Enumerated,

 

ReportOptions .................

202

Enumerated, SectionFont ...

202

Enumerated, Sort/Group ....

202

Enumerated, SQL...............

203

Enumerated,

 

SummaryInfo ...................

203

Enumerated, Tables ...........

203

Enumerated, Window........

203

Enumerated, Window

 

Cursor..............................

203

Enumerated, Window

 

Events ..............................

203

Event .................................

204

W

 

WindowEvents

 

wOnActivateWindow........

177

wOnCancelBtnClick..........

178

wOnCloseBtnClick ............

178

wOnCloseWindow............

179

wOnDeActivateWindow ...

180

wOnDrillDetail .................

181

wOnDrillGroup.................

182

wOnExportBtnClick...........

184

wOnFirstPageBtnClick.......

185

wOnGroupTreeBtnClick....

185

wOnLastPageBtnClick .......

186

wOnNextPageBtnClick......

187

Index-2

wOnPreviousPage

 

BtnClick...........................

188

wOnPrintBtnClick .............

189

wOnPrintSetupBtnClick.....

190

wOnReadingRecords.........

191

wOnRefreshBtnClick .........

192

wOnRightMouseClick .......

192

wOnSearchBtnClick ..........

195

wOnShowGroup ...............

196

wOnStartEvent...................

197

wOnStopEvent...................

198

wOnZoomLevelChange.....

199

Index-3

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