| 33 | 
   | 
     btn_sort_name_desc: TSpeedButton; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 34 | 
   | 
     btn_sort_ext_asc: TSpeedButton; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 35 | 
   | 
     btn_sort_ext_desc: TSpeedButton; | 
 
 
 
 
 
 
 
 
 | 36 | 
 + | 
     Label1: TLabel; | 
 
 
 
 
 
 
 
 
 | 37 | 
 + | 
     Label2: TLabel; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 38 | 
   | 
     procedure RecreateList; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 39 | 
   | 
     procedure LoadFileNames; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 40 | 
   | 
     procedure SelectFileName(filename: String); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 54 | 
   | 
     procedure popup_opentool(Sender: TObject); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 55 | 
   | 
     procedure filepopupPopup(Sender: TObject); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 56 | 
   | 
     procedure btn_sortClick(Sender: TObject); | 
 
 
 
 
 
 
 
 
 | 57 | 
 + | 
     procedure FormActivate(Sender: TObject); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 58 | 
   | 
   private | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 59 | 
   | 
     FSortBy: TSortType; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 60 | 
   | 
     FOnNewFileSelected: TNewFileSelectedEvent; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 278 | 
   | 
 begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 279 | 
   | 
   pt.X := x; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 280 | 
   | 
   pt.Y := y; | 
 
 
 
 
 
 
 
 
 
 
 
 | 281 | 
 < | 
   filelist.ItemIndex := filelist.ItemAtPos(pt, true); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 282 | 
 < | 
   Self.listClick(Self); | 
 
 
 
 
 
 
 
 
 
 | 281 | 
 > | 
 //  filelist.ItemIndex := filelist.ItemAtPos(pt, true); | 
 
 
 
 
 
 | 282 | 
 > | 
 //  Self.listClick(Self); | 
 
 
 
 
 
 
 
 
 
 
 
 | 283 | 
   | 
 end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 284 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 285 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 365 | 
   | 
   FAllowMultiSelect := False; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 366 | 
   | 
 end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 367 | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 368 | 
 + | 
 procedure TForm_ToolTemplate.FormActivate(Sender: TObject); | 
 
 
 
 
 
 
 
 
 | 369 | 
 + | 
 begin | 
 
 
 
 
 
 
 
 
 | 370 | 
 + | 
   edit_filtername.SetFocus; | 
 
 
 
 
 
 
 
 
 | 371 | 
 + | 
 end; | 
 
 
 
 
 
 
 
 
 | 372 | 
 + | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 373 | 
   | 
 procedure TForm_ToolTemplate.FormClose(Sender: TObject; var Action: TCloseAction); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 374 | 
   | 
 begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 375 | 
   | 
   Action := caFree; |