Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button only appears when I hover
Message
 
 
To
22/06/2009 13:36:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01407635
Message ID:
01407644
Views:
69
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform