Changeset 364 for Common/UCommon.pas


Ignore:
Timestamp:
May 22, 2012, 7:44:56 AM (12 years ago)
Author:
chronos
Message:
  • Added: UJobProgressView to Common package. This unit handle operations progress vizualization.
  • Added: Procedure FreeThenNil to Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Common/UCommon.pas

    r360 r364  
    6161procedure OpenFileInShell(FileName: string);
    6262procedure ExecuteProgram(CommandLine: string);
     63procedure FreeThenNil(var Obj);
    6364
    6465
     
    392393end;
    393394
     395procedure FreeThenNil(var Obj);
     396begin
     397  TObject(Obj).Free;
     398  TObject(Obj) := nil;
     399end;
     400
    394401procedure OpenWebPage(URL: string);
    395402var
Note: See TracChangeset for help on using the changeset viewer.