title: How to create a Folder (Directory) property editor for my component?
body: <p>Delphi 2010  </p>
  
  <p>How to create a Folder (Directory) property editor for my component?  </p>
  
  <p>I was able to easily create one for a FileName property using:  </p>
  
  <pre><code>TFileProperty = class(TStringProperty)  
  public  
    function GetAttributes: TPropertyAttributes; override;  
    procedure Edit; override;  
  end;  
  
  RegisterPropertyEditor(TypeInfo(TFileName),nil, '', TFileProperty);  
  </code></pre>
  
  <p>I think it may take alittle more work, as i think i need to create a class to register, and somehow call selDir api routine or something</p>
  
  <p>thanks for any help you may offer</p>