TStringList
[Properties (by Name)] [Methods (by Name)] [Events (by Name)] 

Standard implementation of the TStrings class.

Declaration
Source position: classesh.inc line 563

      type TStringList = class(TStrings)
     
      public
     
        destructor Destroy; override;
       
     Destroys the stringlist.
     
        function Add(); override;
       
     Implements the TStrings.Add function.
     
        procedure Clear; override;
       
     Implements the TStrings.Add function.
     
        procedure Delete(); override;
       
     Implements the TStrings.Delete function.
     
        procedure Exchange(); override;
       
     Implements the TStrings.Exchange function.
     
        function Find(); virtual;
       
     Locates the index for a given string in sorted lists.
     
        function IndexOf(); override;
       
     Overrides the TStrings.IndexOf property.
     
        procedure Insert(); override;
       
     Overrides the TStrings.Insert method.
     
        procedure Sort; virtual;
       
     Sorts the strings in the list.
     
        procedure CustomSort();
       
     
     
        property Duplicates: TDuplicates; [rw]
       
     Describes the behaviour of a sorted list with respect to duplicate strings.
     
        property Sorted: Boolean; [rw]
       
     Determines whether the list is sorted or not.
     
        property CaseSensitive: Boolean; [rw]
       
     
     
        property OnChange: TNotifyEvent; [rw]
       
     Event triggered after the list was modified.
     
        property OnChanging: TNotifyEvent; [rw]
       
     Event triggered when the list is about to be modified.
     
      end;
     

Inheritance
      TStringList
       
     Standard implementation of the TStrings class.
     
      | 
      TStrings
       
     Class to manage arrays or collections of strings
     
      | 
      TPersistent
       
     Base class for streaming system and persistent properties.
     
      | 
      TObject
     

Description
TStringList is a descendent class of TStrings that implements all of the 
abstract methods introduced there. It also introduces some additional methods: 

  a.. Sort the list, or keep the list sorted at all times 
  b.. Special handling of duplicates in sorted lists 
  c.. Notification of changes in the list 
See also
      TStrings
       
     Class to manage arrays or collections of strings
     
      TStrings.Duplicates
     
      TStrings.Sorted
     

  ----- Original Message ----- 
  From: Luiz Escobar 
  To: delphi-br@yahoogrupos.com.br 
  Sent: Tuesday, June 06, 2006 3:51 PM
  Subject: Re: [delphi-br] lista de arquivos de uma pasta



  ou vc cria uma variavel, ou põe o componente e coloca tipo TOP:=-5000; 
  (MENOS CINCO MIL), vai sumir da tela... hehehehhe

  Luiz Escobar



  ----- Original Message ----- 
  From: Filipe Belchior
  To: delphi-br@yahoogrupos.com.br
  Sent: Tuesday, June 06, 2006 2:18 PM
  Subject: [delphi-br] lista de arquivos de uma pasta


  olá galera,

  como eu consigo, de preferência numa "list",
  o nome dos arquivos de uma pasta? para windows

  pensei em usar o TFileListBox, mas ele é visual,
  não to precisando visual.. será q existe alguma
  função na unit "Windows"?


  FILIPE BELCHIOR



  _______________________________________________________
  Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e 
  anti-spam realmente eficaz.
  http://mail.yahoo.com.br/


   

[As partes desta mensagem que não continham texto foram removidas]



-- 
<<<<< FAVOR REMOVER ESTA PARTE AO RESPONDER ESTA MENSAGEM >>>>>

<*> Para ver as mensagens antigas, acesse:
    http://br.groups.yahoo.com/group/delphi-br/messages

<*> Para falar com o moderador, envie um e-mail para:
    [EMAIL PROTECTED]
 
Links do Yahoo! Grupos

<*> Para visitar o site do seu grupo na web, acesse:
    http://br.groups.yahoo.com/group/delphi-br/

<*> Para sair deste grupo, envie um e-mail para:
    [EMAIL PROTECTED]

<*> O uso que você faz do Yahoo! Grupos está sujeito aos:
    http://br.yahoo.com/info/utos.html

 



Responder a