1 |
|
---|
2 | {*****************************************************************************}
|
---|
3 | { }
|
---|
4 | { Tnt Delphi Unicode Controls }
|
---|
5 | { http://www.tntware.com/delphicontrols/unicode/ }
|
---|
6 | { Version: 2.3.0 }
|
---|
7 | { }
|
---|
8 | { Copyright (c) 2002-2007, Troy Wolbrink (troy.wolbrink@tntware.com) }
|
---|
9 | { }
|
---|
10 | {*****************************************************************************}
|
---|
11 |
|
---|
12 | unit TntDBActns;
|
---|
13 |
|
---|
14 | {$INCLUDE TntCompilers.inc}
|
---|
15 |
|
---|
16 | interface
|
---|
17 |
|
---|
18 | uses
|
---|
19 | Classes, ActnList, DBActns, TntActnList;
|
---|
20 |
|
---|
21 | type
|
---|
22 | {TNT-WARN TDataSetAction}
|
---|
23 | TTntDataSetAction = class(TDataSetAction{TNT-ALLOW TDataSetAction}, ITntAction)
|
---|
24 | private
|
---|
25 | function GetCaption: WideString;
|
---|
26 | procedure SetCaption(const Value: WideString);
|
---|
27 | function GetHint: WideString;
|
---|
28 | procedure SetHint(const Value: WideString);
|
---|
29 | protected
|
---|
30 | procedure DefineProperties(Filer: TFiler); override;
|
---|
31 | public
|
---|
32 | procedure Assign(Source: TPersistent); override;
|
---|
33 | published
|
---|
34 | property Caption: WideString read GetCaption write SetCaption;
|
---|
35 | property Hint: WideString read GetHint write SetHint;
|
---|
36 | end;
|
---|
37 |
|
---|
38 | {TNT-WARN TDataSetFirst}
|
---|
39 | TTntDataSetFirst = class(TDataSetFirst{TNT-ALLOW TDataSetFirst}, ITntAction)
|
---|
40 | private
|
---|
41 | function GetCaption: WideString;
|
---|
42 | procedure SetCaption(const Value: WideString);
|
---|
43 | function GetHint: WideString;
|
---|
44 | procedure SetHint(const Value: WideString);
|
---|
45 | protected
|
---|
46 | procedure DefineProperties(Filer: TFiler); override;
|
---|
47 | public
|
---|
48 | procedure Assign(Source: TPersistent); override;
|
---|
49 | published
|
---|
50 | property Caption: WideString read GetCaption write SetCaption;
|
---|
51 | property Hint: WideString read GetHint write SetHint;
|
---|
52 | end;
|
---|
53 |
|
---|
54 | {TNT-WARN TDataSetPrior}
|
---|
55 | TTntDataSetPrior = class(TDataSetPrior{TNT-ALLOW TDataSetPrior}, ITntAction)
|
---|
56 | private
|
---|
57 | function GetCaption: WideString;
|
---|
58 | procedure SetCaption(const Value: WideString);
|
---|
59 | function GetHint: WideString;
|
---|
60 | procedure SetHint(const Value: WideString);
|
---|
61 | protected
|
---|
62 | procedure DefineProperties(Filer: TFiler); override;
|
---|
63 | public
|
---|
64 | procedure Assign(Source: TPersistent); override;
|
---|
65 | published
|
---|
66 | property Caption: WideString read GetCaption write SetCaption;
|
---|
67 | property Hint: WideString read GetHint write SetHint;
|
---|
68 | end;
|
---|
69 |
|
---|
70 | {TNT-WARN TDataSetNext}
|
---|
71 | TTntDataSetNext = class(TDataSetNext{TNT-ALLOW TDataSetNext}, ITntAction)
|
---|
72 | private
|
---|
73 | function GetCaption: WideString;
|
---|
74 | procedure SetCaption(const Value: WideString);
|
---|
75 | function GetHint: WideString;
|
---|
76 | procedure SetHint(const Value: WideString);
|
---|
77 | protected
|
---|
78 | procedure DefineProperties(Filer: TFiler); override;
|
---|
79 | public
|
---|
80 | procedure Assign(Source: TPersistent); override;
|
---|
81 | published
|
---|
82 | property Caption: WideString read GetCaption write SetCaption;
|
---|
83 | property Hint: WideString read GetHint write SetHint;
|
---|
84 | end;
|
---|
85 |
|
---|
86 | {TNT-WARN TDataSetLast}
|
---|
87 | TTntDataSetLast = class(TDataSetLast{TNT-ALLOW TDataSetLast}, ITntAction)
|
---|
88 | private
|
---|
89 | function GetCaption: WideString;
|
---|
90 | procedure SetCaption(const Value: WideString);
|
---|
91 | function GetHint: WideString;
|
---|
92 | procedure SetHint(const Value: WideString);
|
---|
93 | protected
|
---|
94 | procedure DefineProperties(Filer: TFiler); override;
|
---|
95 | public
|
---|
96 | procedure Assign(Source: TPersistent); override;
|
---|
97 | published
|
---|
98 | property Caption: WideString read GetCaption write SetCaption;
|
---|
99 | property Hint: WideString read GetHint write SetHint;
|
---|
100 | end;
|
---|
101 |
|
---|
102 | {TNT-WARN TDataSetInsert}
|
---|
103 | TTntDataSetInsert = class(TDataSetInsert{TNT-ALLOW TDataSetInsert}, ITntAction)
|
---|
104 | private
|
---|
105 | function GetCaption: WideString;
|
---|
106 | procedure SetCaption(const Value: WideString);
|
---|
107 | function GetHint: WideString;
|
---|
108 | procedure SetHint(const Value: WideString);
|
---|
109 | protected
|
---|
110 | procedure DefineProperties(Filer: TFiler); override;
|
---|
111 | public
|
---|
112 | procedure Assign(Source: TPersistent); override;
|
---|
113 | published
|
---|
114 | property Caption: WideString read GetCaption write SetCaption;
|
---|
115 | property Hint: WideString read GetHint write SetHint;
|
---|
116 | end;
|
---|
117 |
|
---|
118 | {TNT-WARN TDataSetDelete}
|
---|
119 | TTntDataSetDelete = class(TDataSetDelete{TNT-ALLOW TDataSetDelete}, ITntAction)
|
---|
120 | private
|
---|
121 | function GetCaption: WideString;
|
---|
122 | procedure SetCaption(const Value: WideString);
|
---|
123 | function GetHint: WideString;
|
---|
124 | procedure SetHint(const Value: WideString);
|
---|
125 | protected
|
---|
126 | procedure DefineProperties(Filer: TFiler); override;
|
---|
127 | public
|
---|
128 | procedure Assign(Source: TPersistent); override;
|
---|
129 | published
|
---|
130 | property Caption: WideString read GetCaption write SetCaption;
|
---|
131 | property Hint: WideString read GetHint write SetHint;
|
---|
132 | end;
|
---|
133 |
|
---|
134 | {TNT-WARN TDataSetEdit}
|
---|
135 | TTntDataSetEdit = class(TDataSetEdit{TNT-ALLOW TDataSetEdit}, ITntAction)
|
---|
136 | private
|
---|
137 | function GetCaption: WideString;
|
---|
138 | procedure SetCaption(const Value: WideString);
|
---|
139 | function GetHint: WideString;
|
---|
140 | procedure SetHint(const Value: WideString);
|
---|
141 | protected
|
---|
142 | procedure DefineProperties(Filer: TFiler); override;
|
---|
143 | public
|
---|
144 | procedure Assign(Source: TPersistent); override;
|
---|
145 | published
|
---|
146 | property Caption: WideString read GetCaption write SetCaption;
|
---|
147 | property Hint: WideString read GetHint write SetHint;
|
---|
148 | end;
|
---|
149 |
|
---|
150 | {TNT-WARN TDataSetPost}
|
---|
151 | TTntDataSetPost = class(TDataSetPost{TNT-ALLOW TDataSetPost}, ITntAction)
|
---|
152 | private
|
---|
153 | function GetCaption: WideString;
|
---|
154 | procedure SetCaption(const Value: WideString);
|
---|
155 | function GetHint: WideString;
|
---|
156 | procedure SetHint(const Value: WideString);
|
---|
157 | protected
|
---|
158 | procedure DefineProperties(Filer: TFiler); override;
|
---|
159 | public
|
---|
160 | procedure Assign(Source: TPersistent); override;
|
---|
161 | published
|
---|
162 | property Caption: WideString read GetCaption write SetCaption;
|
---|
163 | property Hint: WideString read GetHint write SetHint;
|
---|
164 | end;
|
---|
165 |
|
---|
166 | {TNT-WARN TDataSetCancel}
|
---|
167 | TTntDataSetCancel = class(TDataSetCancel{TNT-ALLOW TDataSetCancel}, ITntAction)
|
---|
168 | private
|
---|
169 | function GetCaption: WideString;
|
---|
170 | procedure SetCaption(const Value: WideString);
|
---|
171 | function GetHint: WideString;
|
---|
172 | procedure SetHint(const Value: WideString);
|
---|
173 | protected
|
---|
174 | procedure DefineProperties(Filer: TFiler); override;
|
---|
175 | public
|
---|
176 | procedure Assign(Source: TPersistent); override;
|
---|
177 | published
|
---|
178 | property Caption: WideString read GetCaption write SetCaption;
|
---|
179 | property Hint: WideString read GetHint write SetHint;
|
---|
180 | end;
|
---|
181 |
|
---|
182 | {TNT-WARN TDataSetRefresh}
|
---|
183 | TTntDataSetRefresh = class(TDataSetRefresh{TNT-ALLOW TDataSetRefresh}, ITntAction)
|
---|
184 | private
|
---|
185 | function GetCaption: WideString;
|
---|
186 | procedure SetCaption(const Value: WideString);
|
---|
187 | function GetHint: WideString;
|
---|
188 | procedure SetHint(const Value: WideString);
|
---|
189 | protected
|
---|
190 | procedure DefineProperties(Filer: TFiler); override;
|
---|
191 | public
|
---|
192 | procedure Assign(Source: TPersistent); override;
|
---|
193 | published
|
---|
194 | property Caption: WideString read GetCaption write SetCaption;
|
---|
195 | property Hint: WideString read GetHint write SetHint;
|
---|
196 | end;
|
---|
197 |
|
---|
198 | procedure TntDBActn_AfterInherited_Assign(Action: TCustomAction{TNT-ALLOW TCustomAction}; Source: TPersistent);
|
---|
199 |
|
---|
200 | implementation
|
---|
201 |
|
---|
202 | uses
|
---|
203 | TntClasses;
|
---|
204 |
|
---|
205 | {TNT-IGNORE-UNIT}
|
---|
206 |
|
---|
207 | procedure TntDBActn_AfterInherited_Assign(Action: TCustomAction{TNT-ALLOW TCustomAction}; Source: TPersistent);
|
---|
208 | begin
|
---|
209 | TntAction_AfterInherited_Assign(Action, Source);
|
---|
210 | // TDataSetAction
|
---|
211 | if (Action is TDataSetAction) and (Source is TDataSetAction) then begin
|
---|
212 | TDataSetAction(Action).DataSource := TDataSetAction(Source).DataSource;
|
---|
213 | end;
|
---|
214 | end;
|
---|
215 |
|
---|
216 | //-------------------------
|
---|
217 | // TNT DB ACTNS
|
---|
218 | //-------------------------
|
---|
219 |
|
---|
220 | { TTntDataSetAction }
|
---|
221 |
|
---|
222 | procedure TTntDataSetAction.Assign(Source: TPersistent);
|
---|
223 | begin
|
---|
224 | inherited;
|
---|
225 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
226 | end;
|
---|
227 |
|
---|
228 | procedure TTntDataSetAction.DefineProperties(Filer: TFiler);
|
---|
229 | begin
|
---|
230 | inherited;
|
---|
231 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
232 | end;
|
---|
233 |
|
---|
234 | function TTntDataSetAction.GetCaption: WideString;
|
---|
235 | begin
|
---|
236 | Result := TntAction_GetCaption(Self);
|
---|
237 | end;
|
---|
238 |
|
---|
239 | procedure TTntDataSetAction.SetCaption(const Value: WideString);
|
---|
240 | begin
|
---|
241 | TntAction_SetCaption(Self, Value);
|
---|
242 | end;
|
---|
243 |
|
---|
244 | function TTntDataSetAction.GetHint: WideString;
|
---|
245 | begin
|
---|
246 | Result := TntAction_GetHint(Self);
|
---|
247 | end;
|
---|
248 |
|
---|
249 | procedure TTntDataSetAction.SetHint(const Value: WideString);
|
---|
250 | begin
|
---|
251 | TntAction_SetHint(Self, Value);
|
---|
252 | end;
|
---|
253 |
|
---|
254 | { TTntDataSetFirst }
|
---|
255 |
|
---|
256 | procedure TTntDataSetFirst.Assign(Source: TPersistent);
|
---|
257 | begin
|
---|
258 | inherited;
|
---|
259 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
260 | end;
|
---|
261 |
|
---|
262 | procedure TTntDataSetFirst.DefineProperties(Filer: TFiler);
|
---|
263 | begin
|
---|
264 | inherited;
|
---|
265 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
266 | end;
|
---|
267 |
|
---|
268 | function TTntDataSetFirst.GetCaption: WideString;
|
---|
269 | begin
|
---|
270 | Result := TntAction_GetCaption(Self);
|
---|
271 | end;
|
---|
272 |
|
---|
273 | procedure TTntDataSetFirst.SetCaption(const Value: WideString);
|
---|
274 | begin
|
---|
275 | TntAction_SetCaption(Self, Value);
|
---|
276 | end;
|
---|
277 |
|
---|
278 | function TTntDataSetFirst.GetHint: WideString;
|
---|
279 | begin
|
---|
280 | Result := TntAction_GetHint(Self);
|
---|
281 | end;
|
---|
282 |
|
---|
283 | procedure TTntDataSetFirst.SetHint(const Value: WideString);
|
---|
284 | begin
|
---|
285 | TntAction_SetHint(Self, Value);
|
---|
286 | end;
|
---|
287 |
|
---|
288 | { TTntDataSetPrior }
|
---|
289 |
|
---|
290 | procedure TTntDataSetPrior.Assign(Source: TPersistent);
|
---|
291 | begin
|
---|
292 | inherited;
|
---|
293 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
294 | end;
|
---|
295 |
|
---|
296 | procedure TTntDataSetPrior.DefineProperties(Filer: TFiler);
|
---|
297 | begin
|
---|
298 | inherited;
|
---|
299 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
300 | end;
|
---|
301 |
|
---|
302 | function TTntDataSetPrior.GetCaption: WideString;
|
---|
303 | begin
|
---|
304 | Result := TntAction_GetCaption(Self);
|
---|
305 | end;
|
---|
306 |
|
---|
307 | procedure TTntDataSetPrior.SetCaption(const Value: WideString);
|
---|
308 | begin
|
---|
309 | TntAction_SetCaption(Self, Value);
|
---|
310 | end;
|
---|
311 |
|
---|
312 | function TTntDataSetPrior.GetHint: WideString;
|
---|
313 | begin
|
---|
314 | Result := TntAction_GetHint(Self);
|
---|
315 | end;
|
---|
316 |
|
---|
317 | procedure TTntDataSetPrior.SetHint(const Value: WideString);
|
---|
318 | begin
|
---|
319 | TntAction_SetHint(Self, Value);
|
---|
320 | end;
|
---|
321 |
|
---|
322 | { TTntDataSetNext }
|
---|
323 |
|
---|
324 | procedure TTntDataSetNext.Assign(Source: TPersistent);
|
---|
325 | begin
|
---|
326 | inherited;
|
---|
327 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
328 | end;
|
---|
329 |
|
---|
330 | procedure TTntDataSetNext.DefineProperties(Filer: TFiler);
|
---|
331 | begin
|
---|
332 | inherited;
|
---|
333 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
334 | end;
|
---|
335 |
|
---|
336 | function TTntDataSetNext.GetCaption: WideString;
|
---|
337 | begin
|
---|
338 | Result := TntAction_GetCaption(Self);
|
---|
339 | end;
|
---|
340 |
|
---|
341 | procedure TTntDataSetNext.SetCaption(const Value: WideString);
|
---|
342 | begin
|
---|
343 | TntAction_SetCaption(Self, Value);
|
---|
344 | end;
|
---|
345 |
|
---|
346 | function TTntDataSetNext.GetHint: WideString;
|
---|
347 | begin
|
---|
348 | Result := TntAction_GetHint(Self);
|
---|
349 | end;
|
---|
350 |
|
---|
351 | procedure TTntDataSetNext.SetHint(const Value: WideString);
|
---|
352 | begin
|
---|
353 | TntAction_SetHint(Self, Value);
|
---|
354 | end;
|
---|
355 |
|
---|
356 | { TTntDataSetLast }
|
---|
357 |
|
---|
358 | procedure TTntDataSetLast.Assign(Source: TPersistent);
|
---|
359 | begin
|
---|
360 | inherited;
|
---|
361 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
362 | end;
|
---|
363 |
|
---|
364 | procedure TTntDataSetLast.DefineProperties(Filer: TFiler);
|
---|
365 | begin
|
---|
366 | inherited;
|
---|
367 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
368 | end;
|
---|
369 |
|
---|
370 | function TTntDataSetLast.GetCaption: WideString;
|
---|
371 | begin
|
---|
372 | Result := TntAction_GetCaption(Self);
|
---|
373 | end;
|
---|
374 |
|
---|
375 | procedure TTntDataSetLast.SetCaption(const Value: WideString);
|
---|
376 | begin
|
---|
377 | TntAction_SetCaption(Self, Value);
|
---|
378 | end;
|
---|
379 |
|
---|
380 | function TTntDataSetLast.GetHint: WideString;
|
---|
381 | begin
|
---|
382 | Result := TntAction_GetHint(Self);
|
---|
383 | end;
|
---|
384 |
|
---|
385 | procedure TTntDataSetLast.SetHint(const Value: WideString);
|
---|
386 | begin
|
---|
387 | TntAction_SetHint(Self, Value);
|
---|
388 | end;
|
---|
389 |
|
---|
390 | { TTntDataSetInsert }
|
---|
391 |
|
---|
392 | procedure TTntDataSetInsert.Assign(Source: TPersistent);
|
---|
393 | begin
|
---|
394 | inherited;
|
---|
395 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
396 | end;
|
---|
397 |
|
---|
398 | procedure TTntDataSetInsert.DefineProperties(Filer: TFiler);
|
---|
399 | begin
|
---|
400 | inherited;
|
---|
401 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
402 | end;
|
---|
403 |
|
---|
404 | function TTntDataSetInsert.GetCaption: WideString;
|
---|
405 | begin
|
---|
406 | Result := TntAction_GetCaption(Self);
|
---|
407 | end;
|
---|
408 |
|
---|
409 | procedure TTntDataSetInsert.SetCaption(const Value: WideString);
|
---|
410 | begin
|
---|
411 | TntAction_SetCaption(Self, Value);
|
---|
412 | end;
|
---|
413 |
|
---|
414 | function TTntDataSetInsert.GetHint: WideString;
|
---|
415 | begin
|
---|
416 | Result := TntAction_GetHint(Self);
|
---|
417 | end;
|
---|
418 |
|
---|
419 | procedure TTntDataSetInsert.SetHint(const Value: WideString);
|
---|
420 | begin
|
---|
421 | TntAction_SetHint(Self, Value);
|
---|
422 | end;
|
---|
423 |
|
---|
424 | { TTntDataSetDelete }
|
---|
425 |
|
---|
426 | procedure TTntDataSetDelete.Assign(Source: TPersistent);
|
---|
427 | begin
|
---|
428 | inherited;
|
---|
429 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
430 | end;
|
---|
431 |
|
---|
432 | procedure TTntDataSetDelete.DefineProperties(Filer: TFiler);
|
---|
433 | begin
|
---|
434 | inherited;
|
---|
435 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
436 | end;
|
---|
437 |
|
---|
438 | function TTntDataSetDelete.GetCaption: WideString;
|
---|
439 | begin
|
---|
440 | Result := TntAction_GetCaption(Self);
|
---|
441 | end;
|
---|
442 |
|
---|
443 | procedure TTntDataSetDelete.SetCaption(const Value: WideString);
|
---|
444 | begin
|
---|
445 | TntAction_SetCaption(Self, Value);
|
---|
446 | end;
|
---|
447 |
|
---|
448 | function TTntDataSetDelete.GetHint: WideString;
|
---|
449 | begin
|
---|
450 | Result := TntAction_GetHint(Self);
|
---|
451 | end;
|
---|
452 |
|
---|
453 | procedure TTntDataSetDelete.SetHint(const Value: WideString);
|
---|
454 | begin
|
---|
455 | TntAction_SetHint(Self, Value);
|
---|
456 | end;
|
---|
457 |
|
---|
458 | { TTntDataSetEdit }
|
---|
459 |
|
---|
460 | procedure TTntDataSetEdit.Assign(Source: TPersistent);
|
---|
461 | begin
|
---|
462 | inherited;
|
---|
463 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
464 | end;
|
---|
465 |
|
---|
466 | procedure TTntDataSetEdit.DefineProperties(Filer: TFiler);
|
---|
467 | begin
|
---|
468 | inherited;
|
---|
469 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
470 | end;
|
---|
471 |
|
---|
472 | function TTntDataSetEdit.GetCaption: WideString;
|
---|
473 | begin
|
---|
474 | Result := TntAction_GetCaption(Self);
|
---|
475 | end;
|
---|
476 |
|
---|
477 | procedure TTntDataSetEdit.SetCaption(const Value: WideString);
|
---|
478 | begin
|
---|
479 | TntAction_SetCaption(Self, Value);
|
---|
480 | end;
|
---|
481 |
|
---|
482 | function TTntDataSetEdit.GetHint: WideString;
|
---|
483 | begin
|
---|
484 | Result := TntAction_GetHint(Self);
|
---|
485 | end;
|
---|
486 |
|
---|
487 | procedure TTntDataSetEdit.SetHint(const Value: WideString);
|
---|
488 | begin
|
---|
489 | TntAction_SetHint(Self, Value);
|
---|
490 | end;
|
---|
491 |
|
---|
492 | { TTntDataSetPost }
|
---|
493 |
|
---|
494 | procedure TTntDataSetPost.Assign(Source: TPersistent);
|
---|
495 | begin
|
---|
496 | inherited;
|
---|
497 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
498 | end;
|
---|
499 |
|
---|
500 | procedure TTntDataSetPost.DefineProperties(Filer: TFiler);
|
---|
501 | begin
|
---|
502 | inherited;
|
---|
503 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
504 | end;
|
---|
505 |
|
---|
506 | function TTntDataSetPost.GetCaption: WideString;
|
---|
507 | begin
|
---|
508 | Result := TntAction_GetCaption(Self);
|
---|
509 | end;
|
---|
510 |
|
---|
511 | procedure TTntDataSetPost.SetCaption(const Value: WideString);
|
---|
512 | begin
|
---|
513 | TntAction_SetCaption(Self, Value);
|
---|
514 | end;
|
---|
515 |
|
---|
516 | function TTntDataSetPost.GetHint: WideString;
|
---|
517 | begin
|
---|
518 | Result := TntAction_GetHint(Self);
|
---|
519 | end;
|
---|
520 |
|
---|
521 | procedure TTntDataSetPost.SetHint(const Value: WideString);
|
---|
522 | begin
|
---|
523 | TntAction_SetHint(Self, Value);
|
---|
524 | end;
|
---|
525 |
|
---|
526 | { TTntDataSetCancel }
|
---|
527 |
|
---|
528 | procedure TTntDataSetCancel.Assign(Source: TPersistent);
|
---|
529 | begin
|
---|
530 | inherited;
|
---|
531 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
532 | end;
|
---|
533 |
|
---|
534 | procedure TTntDataSetCancel.DefineProperties(Filer: TFiler);
|
---|
535 | begin
|
---|
536 | inherited;
|
---|
537 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
538 | end;
|
---|
539 |
|
---|
540 | function TTntDataSetCancel.GetCaption: WideString;
|
---|
541 | begin
|
---|
542 | Result := TntAction_GetCaption(Self);
|
---|
543 | end;
|
---|
544 |
|
---|
545 | procedure TTntDataSetCancel.SetCaption(const Value: WideString);
|
---|
546 | begin
|
---|
547 | TntAction_SetCaption(Self, Value);
|
---|
548 | end;
|
---|
549 |
|
---|
550 | function TTntDataSetCancel.GetHint: WideString;
|
---|
551 | begin
|
---|
552 | Result := TntAction_GetHint(Self);
|
---|
553 | end;
|
---|
554 |
|
---|
555 | procedure TTntDataSetCancel.SetHint(const Value: WideString);
|
---|
556 | begin
|
---|
557 | TntAction_SetHint(Self, Value);
|
---|
558 | end;
|
---|
559 |
|
---|
560 | { TTntDataSetRefresh }
|
---|
561 |
|
---|
562 | procedure TTntDataSetRefresh.Assign(Source: TPersistent);
|
---|
563 | begin
|
---|
564 | inherited;
|
---|
565 | TntDBActn_AfterInherited_Assign(Self, Source);
|
---|
566 | end;
|
---|
567 |
|
---|
568 | procedure TTntDataSetRefresh.DefineProperties(Filer: TFiler);
|
---|
569 | begin
|
---|
570 | inherited;
|
---|
571 | TntPersistent_AfterInherited_DefineProperties(Filer, Self);
|
---|
572 | end;
|
---|
573 |
|
---|
574 | function TTntDataSetRefresh.GetCaption: WideString;
|
---|
575 | begin
|
---|
576 | Result := TntAction_GetCaption(Self);
|
---|
577 | end;
|
---|
578 |
|
---|
579 | procedure TTntDataSetRefresh.SetCaption(const Value: WideString);
|
---|
580 | begin
|
---|
581 | TntAction_SetCaption(Self, Value);
|
---|
582 | end;
|
---|
583 |
|
---|
584 | function TTntDataSetRefresh.GetHint: WideString;
|
---|
585 | begin
|
---|
586 | Result := TntAction_GetHint(Self);
|
---|
587 | end;
|
---|
588 |
|
---|
589 | procedure TTntDataSetRefresh.SetHint(const Value: WideString);
|
---|
590 | begin
|
---|
591 | TntAction_SetHint(Self, Value);
|
---|
592 | end;
|
---|
593 |
|
---|
594 | end.
|
---|