>Is it really related to your caption, or just the caption at the time the window was created ? If the object is created with a fixed name, then the caption / title changed later, would this allow you to refrence the object later by it's created name ?
The caption is the application caption which is _screen. So, here's an example. I start my application in french and I see the enabling of the menu item supplier. From my tools menu, I change to english so the menu will refresh in english as well as the _screen.Caption. Now, my menu item is disabled.
My supplier menu item is calling a pick list. The pick list is not defined as an object form with DO FORM NAME syntax. So, that's why I want to refer to it as WEXIST('SUPPLIER'). My framework is given SUPPLIER to the ThisForm.Name property. Until Visual FoxPro 3, this was working fine. This is the first time we discover this after our 3rd conversion in Visual FoxPro 5 because of the coincidence of the _screen.Caption value.