>Good morning,
>
>I have a weird problem (I have been struggling with it all morning) with a button Visible property. Here is what happens:
>
>In the Click() of this button I set visible of the button to .F.
>
>
>this.visible = .F.
>
>
>But then when I try to click on
any place of the form a certain completely unrelated method fires. As if there is an invisible form in front of the actual form.
>
>How can I find out what causes this weird behaviour.
>
>Thank you in advance for any suggestions.
I would suggest to take focus off the button explicitly, i.e. OtherControl.SetFocus before changing Visible property.
Edward Pikman
Independent Consultant