ah, FileListBox is a control...

you can ignore my previous post then!

Do you have an OnChange event assigned?

JED

==========================================================

Alistair asked:

> Here is a routine which seems to run really slowly - any ideas why? and
if so,
> what suggested solution tks, Al+
>
>   with FileListbox.Items do
>    begin
>   label1.caption:='Process - adding qualifiers';
>      beginupdate;
>      for I := 0 to FileListbox.items.count-1 do
>           Strings[i]:=Strings[i]+'\*.*';
>      endupdate;
>   end;

Is it just as slow when adding items to *any* TStringList, or only to
a TFileListBox.Items array. If the latter, suspect that it is doing
processing (e.g. disk scanning) at each change, and look at either
your design or the object's source to see if you can bypass this
step.

cheers,
peter





This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the [EMAIL PROTECTED]

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to