>>I think you should better set the caption in Form.Init():
>>
>>
>>ThisForm.Caption = SomeFunction(...)
>>
>
>Not my code - and would probably take too much to do that everywhere. And I need to correct myself, it's the ToolTipText that's set that way, not the caption.
>
>Still can't figure why would VFP want to evaluate that for editing - it doesn't display the tooltip there anyway.
May be you can also look into assign/access methods. Some form properties are trying to be accessed in design time.
If it's not broken, fix it until it is.
My Blog