Board index » delphi » D3 Pro FileListBox

D3 Pro FileListBox

Hello,

I need a fast answer on how to iterate through a FileListBox items to copy
the filenames into fx a variable.

:)
Kai Inge

 

Re:D3 Pro FileListBox


var n:integer;
fx:string;

for n:=0 to filelistbox1.items.count-1 do
 {or do whatever here}fx:=filelistbox1.items.strings[n];

Cheers,
Nick

"Kai Inge Buseth" <kibus...@online.no> wrote in message
news:mAKR8.1419$Q12.41493@news4.ulv.nextra.no...

Quote
> Hello,

> I need a fast answer on how to iterate through a FileListBox items to copy
> the filenames into fx a variable.

> :)
> Kai Inge

Re:D3 Pro FileListBox


Thanks Nicholas, I'll try it out.

That really was fast enough :-)

:)
Kai Inge

Nicholas Sherlock <n_sherl...@hotmail.com> skrev i
meldingsnyheter:af7t49$4u...@lust.ihug.co.nz...

Quote
> var n:integer;
> fx:string;

> for n:=0 to filelistbox1.items.count-1 do
>  {or do whatever here}fx:=filelistbox1.items.strings[n];

> Cheers,
> Nick

> "Kai Inge Buseth" <kibus...@online.no> wrote in message
> news:mAKR8.1419$Q12.41493@news4.ulv.nextra.no...
> > Hello,

> > I need a fast answer on how to iterate through a FileListBox items to
copy
> > the filenames into fx a variable.

> > :)
> > Kai Inge

Other Threads