That makes WEXIST() function totally unreliable. Take a look at _WFindTitl function in FoxTools.
_screen.caption = "Hello - mYapp"
SET LIBRARY TO (HOME() + "FoxTools")
? _WFindTitl(_screen.Caption)
? _WFindTitl"Hello")
You may find George Tasker's
Extended Foxtools Help File #
9333 helpfull.
>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.
>
--sb--