FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
How to interrupt a procedure in fListFile
How to interrupt a procedure in fListFile
Débuté par Frans, 27 jan. 2005 21:45 - 1 réponse
Connectez-vous…
Frans
#1
Posté le 27 janvier 2005 - 21:45
Hello to you al,
Has anyone an idea how to interrupt the procedure called in the fListFile command.
In my case it has to read 5000 pictures in a hyperfile. The user has got to have the possibility to interrupt this because it takes minutes to read it al. I know how to interrupt a loop but this loop is inside fListFile.
Regards Frans
Signaler
0
0
Fabrice Harari
#2
Posté le 30 janvier 2005 - 17:23
Just put in your procedure the line:
Result false
it will interrupt the loop... After that, to find out WHEN to interrupt the loop, you can have a button in which the code sets a flag (if you have a multitask(-1) in your procedure), or you can use an api call to see if the esc key has ben pressed since your last loop...
cordially
Fabrice Harari
Development manager
fabriceh@selltis.com
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte