Visualizzazione dei risultati da 1 a 2 su 2

Discussione: re

  1. #1

    re

    Ok grazie alka ci provo.MrCocò85 il codice è il seguente:

    unit Unit1;

    interface

    uses
    Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    Dialogs, StdCtrls, Mask, ToolEdit, uMfTreeExplorer, TimerLst, ExtCtrls,
    RXClock;

    type
    TForm1 = class(TForm)
    MfTreeExplorer1: TMfTreeExplorer;
    DirectoryEdit1: TDirectoryEdit;
    Button1: TButton;
    Button2: TButton;
    Button3: TButton;
    ListBox1: TListBox;
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    procedure Button3Click(Sender: TObject);
    procedure DirectoryEdit1Change(Sender: TObject);
    procedure MfTreeExplorer1ScanComplete(Sender: TObject);

    private
    { Private declarations }
    public
    { Public declarations }
    end;

    var
    Form1: TForm1;

    implementation

    {$R *.dfm}

    procedure TForm1.Button1Click(Sender: TObject);
    begin
    MfTreeExplorer1.Scan;
    end;

    procedure TForm1.Button2Click(Sender: TObject);
    begin
    MfTreeExplorer1.Cancel;


    end;

    procedure TForm1.Button3Click(Sender: TObject);
    begin
    Form1.Close
    end;

    procedure TForm1.DirectoryEdit1Change(Sender: TObject);
    begin
    MfTreeExplorer1.Path:=DirectoryEdit1.Text;
    end;

    procedure TForm1.MfTreeExplorer1ScanComplete(Sender: TObject);
    begin
    with TMfTreeExplorer(Sender) do
    ShowMessage(Format('Scansione di %d files e %d cartelle completata', [FileNames.Count, DirNames.Count]));

    end;



    end.


    e per il db?

  2. #2
    sorry ho sbagliato a postare!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.