FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Is there a way to find out if a window is open
Is there a way to find out if a window is open
Débuté par John Fligg, 06 déc. 2017 13:03 - 2 réponses
Connectez-vous…
John Fligg
#1
Posté le 06 décembre 2017 - 13:03
I have tried WinStatus and other things but I cannot find a way to find out if a Window is open without getting an Exception Error.
Is there any way to find out if a Window has been opened other than setting a global? This is for WD and WM
Thx.
Signaler
0
0
Fabrice Harari
#2
Posté le 06 décembre 2017 - 13:37
Hi John
yes there is, and it is winstatus... If you got an exception, it's probably because you didn't put the name of the window between quotes... Between quotes, it's a string that can be used to check if open or not, without the quotes, its a windows object that exists only when it is open.
And that means that you could also check by using a wehn exception to encapsulate using the windows object.
Best regards
Signaler
0
0
John Fligg
#3
Posté le 06 décembre 2017 - 14:25
Oops - no I didn't use quotes. Thx so much.
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