28 |
|
|
29 |
|
unit IBTransactionEdit; |
30 |
|
|
31 |
+ |
{$MODE Delphi} |
32 |
+ |
|
33 |
|
interface |
34 |
|
|
35 |
|
uses |
36 |
< |
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, |
37 |
< |
StdCtrls, IBDatabase, IB, ExtCtrls, IBXConst; |
36 |
> |
{Windows,} Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, |
37 |
> |
StdCtrls, IBDataBase, IB, ExtCtrls, IBXConst, LResources; |
38 |
|
|
39 |
|
type |
40 |
+ |
|
41 |
+ |
{ TIBTransactionEditForm } |
42 |
+ |
|
43 |
|
TIBTransactionEditForm = class(TForm) |
44 |
|
GroupBox1: TGroupBox; |
45 |
|
HelpBtn: TButton; |
46 |
|
Cancelbtn: TButton; |
47 |
|
OKBtn: TButton; |
48 |
+ |
rbOtherButton: TRadioButton; |
49 |
|
rbSnapShot: TRadioButton; |
50 |
|
rbReadCommitted: TRadioButton; |
51 |
|
rbReadOnlyTableStability: TRadioButton; |
81 |
|
|
82 |
|
implementation |
83 |
|
|
84 |
< |
{$R *.DFM} |
79 |
< |
|
80 |
< |
uses |
81 |
< |
LibHelp; |
84 |
> |
{$R *.lfm} |
85 |
|
|
86 |
|
function EditIBtransaction(ATransaction: TIBtransaction): Boolean; |
87 |
|
begin |
151 |
|
else if Value = [read, consistency] then |
152 |
|
rbReadOnlyTableStability.Checked := True |
153 |
|
else if Value = [write, consistency] then |
154 |
< |
rbReadWriteTableStability.Checked := True; |
154 |
> |
rbReadWriteTableStability.Checked := True |
155 |
> |
else |
156 |
> |
rbOtherButton.Checked := true |
157 |
|
end; |
158 |
|
|
159 |
|
procedure TIBTransactionEditForm.ClearParamSelection; |
178 |
|
|
179 |
|
procedure TIBTransactionEditForm.FormCreate(Sender: TObject); |
180 |
|
begin |
181 |
< |
HelpContext := hcDIBTransactionEdit; |
181 |
> |
// HelpContext := hcDIBTransactionEdit; |
182 |
|
end; |
183 |
|
|
184 |
|
procedure TIBTransactionEditForm.HelpBtnClick(Sender: TObject); |
225 |
|
ParseParams; |
226 |
|
end; |
227 |
|
|
228 |
< |
end. |
228 |
> |
|
229 |
> |
end. |