Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>I'm having trouble doing something pretty basic:
>
>I want to have a form with two buttons on it: Start and Stop
>
>When one pushes 'Start', a background process starts that performs a continuous loop, looking for files in a particular directory, and copying them to another if they exist. In order to stop this sentinel process, one would press 'stop'.
>
>However I write the code, the focus seems to remain with the background endless loop, and I can't get the 'stop' button to work.
If you uses a timer the loop is not necessary and you have a better control.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement