>Hi All:
>
>I have a form that when I click a button and the click code executes, it then disappears and only reappears when I hover the mouse cursor over it!
>
>Any ideas?
>
>thanks,
>
>Yossi
Check also if VisualEffect of the button is set in the code.
From the Help on VisualEffect:
=========================================================================================================
Makes it possible for you to apply SpecialEffect behaviors programmatically to Visual FoxPro command buttons. Available only at run time.
CommandButton.VisualEffect[ = nValue]
Return Value
nValue
Specifies the format setting of a control according to the following table:
Setting Description
0
None. Existing visual effect is unchanged.
1
Raised. Gives raised visual effect similar to mouse hover with SpecialEffect=2 (Hot Tracking).
2
Depressed. Gives sunken visual effect similar to having the mouse held down on the command button.
If it's not broken, fix it until it is.
My Blog