CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a Cancel button in a long process




>   In a long process which involvs purely file i/o I'd like to provide
>a Canel button so that users can abort the process at any time,
>could somebody provide me with a simple sample or ideas?
>thanks.

You have to include this line inside your loop:

Application->ProcessMessages();

    +------------------------------------+-----------------------------+
    |   Perto S.A. - Grupo Digicon       |    Roberto Luis da Costa    |
    |   Tel: (051)489-1333 Ramal: 2270   |       Eng. Eletronico       |
    |   Fax: (051)489-1503               |      rcosta@perto.com.br    |
    +------------------------------------+-----------------------------+				



W Komornicki's Home Page | Main Index | Thread Index