Changeset 435 for ConfirmationDialog/UConfirmationForm.pas
- Timestamp:
- Nov 19, 2012, 2:31:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ConfirmationDialog/UConfirmationForm.pas
r419 r435 48 48 procedure FormCreate(Sender: TObject); 49 49 procedure FormDestroy(Sender: TObject); 50 procedure FormShow(Sender: TObject); 50 51 private 51 52 ModalResult: Integer; … … 72 73 SIgnore = 'Ignore'; 73 74 SClose = 'Close'; 74 SConfirmMessageNotFound = 'Confirm message id %s not found'; 75 SDoSameActionNextTime = 'Do same action next time'; 76 // SConfirmMessageNotFound = 'Confirm message id %s not found'; 75 77 76 78 … … 83 85 procedure TConfirmationForm.FormDestroy(Sender: TObject); 84 86 begin 85 ConfirmMessages.Free; 87 FreeAndNil(ConfirmMessages); 88 end; 89 90 procedure TConfirmationForm.FormShow(Sender: TObject); 91 begin 92 BitBtnOk.Caption := SOk; 93 BitBtnCancel.Caption := SCancel; 94 BitBtnNo.Caption := SNo; 95 BitBtnYes.Caption := SYes; 96 CheckBoxAutoEnabled.Caption := SDoSameActionNextTime; 86 97 end; 87 98
Note:
See TracChangeset
for help on using the changeset viewer.