Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wexist catches _screen's caption
Message
De
04/02/2005 09:20:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00983563
Message ID:
00983818
Vues:
29
Yes. But I have to add something to the BEGINING of the caption.
If I ADD something to the caption, wexist still returns .T.
As long as the caption BEGINS with Hello, wexist retirns .T.

>After user customize application caption, you can add something to the end of it to make it unique, similar to what IE or other browser do. Something like "Hello - MyApp".
>
>>Try this in the command window:
>>
>>
>>_screen.Caption="Hello"
>>? wexist("Hello")
>>
>>
>>The wexist function recognizes VFP's main screen caption as an existing window.
>>
>>In my application, the user can personalize _screen's caption.
>>When in code I try to check if some window of mine exists, the function returns .T., but my window doesn't exist.
>>
>>I have lots of wexists in my code.
>>Anyone has a hint for a workaround ?
>>
>>Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform