Ignore:
Timestamp:
Nov 19, 2012, 2:31:58 PM (12 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ConfirmationDialog/UConfirmationForm.pas

    r419 r435  
    4848    procedure FormCreate(Sender: TObject);
    4949    procedure FormDestroy(Sender: TObject);
     50    procedure FormShow(Sender: TObject);
    5051  private
    5152    ModalResult: Integer;
     
    7273  SIgnore = 'Ignore';
    7374  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';
    7577
    7678
     
    8385procedure TConfirmationForm.FormDestroy(Sender: TObject);
    8486begin
    85   ConfirmMessages.Free;
     87  FreeAndNil(ConfirmMessages);
     88end;
     89
     90procedure TConfirmationForm.FormShow(Sender: TObject);
     91begin
     92  BitBtnOk.Caption := SOk;
     93  BitBtnCancel.Caption := SCancel;
     94  BitBtnNo.Caption := SNo;
     95  BitBtnYes.Caption := SYes;
     96  CheckBoxAutoEnabled.Caption := SDoSameActionNextTime;
    8697end;
    8798
Note: See TracChangeset for help on using the changeset viewer.