Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wexist() function is not stable ?
Message
De
14/03/2007 08:45:02
 
 
À
14/03/2007 00:32:17
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01203252
Message ID:
01203301
Vues:
12
>i put an small image in my form to act as a button
>in click method i wrote
>
>IF WEXIST('opening')
> ACTIVATE WINDOW opening
> ELSE
> DO FORM opening
>ENDIF
>
>i click the image sometimes ok but
>sometime
>WEXIST('opening') return .t.
>actually it is not
>and no form is activate
>why ?
>how to make it 100% ok ?

It's better to check if specific Form object exists (e.g. by going through _Screen.Forms collection) and if yes then issue oForm.Show
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform