Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wexist catches _screen's caption
Message
From
04/02/2005 09:20:28
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00983563
Message ID:
00983818
Views:
33
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform