>I have set capions (not tool tip texts) like this and if the function is not available VFP simply sets the captions empty. I think it works with all properties, no matter if it's a visible caption, or a tooltip, which never displays in design mode anyway.
>
>So the solution should be to not set procedure to Somefunction and keep it unknown at design time.
Works. It happens after some testing, when set("Procedure") still keeps the code available (but the tables aren't open and the code expects them). I'll just add another line to my clean-up-after-testing routine.