Changeset 401


Ignore:
Timestamp:
May 22, 2016, 1:10:25 PM (9 years ago)
Author:
RBRi
Message:

remove usage of ACLStringUtility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Components/ACLDialogs.pas

    r15 r401  
    7878uses
    7979  SysUtils,
    80   Forms, Dialogs, StdCtrls, Buttons,
    81   ACLStringUtility
     80  Forms,
     81  Dialogs,
     82  StdCtrls,
     83  Buttons,
    8284{$ifdef os2}
    83   , ACLLanguageUnit, ControlsUtility
     85  ACLLanguageUnit, ControlsUtility,
    8486{$endif}
    85   ;
     87  CharUtilsUnit,
     88  DebugUnit;
    8689
    8790// -------------------------------------------------
     
    101104  TheDialog := TMessageForm.Create( nil );
    102105  TheDialog.Caption := Caption;
    103   PMessage := StrDupPas( Message );
     106  PMessage := NewPCharAsCopyOfStr(Message);
    104107  TheDialog.TheText := PMessage;
    105108
     
    301304  CancelButtonCaption: string;
    302305
    303 Procedure OnLanguageEvent( Language: TLanguageFile;
    304                            const Apply: boolean );
     306Procedure OnLanguageEvent(Language: TLanguageFile; const Apply: boolean);
    305307begin
    306308  if Language <> nil then
     
    371373Begin
    372374  if QueryDlg = nil then
     375  begin
    373376    QueryDlg := TACLQueryDialog.Create( Screen.ActiveForm );
     377  end;
    374378
    375379  QueryDlg.Caption := ACaption;
Note: See TracChangeset for help on using the changeset viewer.