JavaScript Editor js editor     Web development 

Main Page

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


Specifies the format setting of a control according to the following table:

Setting Description


None. Existing visual effect is unchanged.


Raised. Gives raised visual effect similar to mouse hover with SpecialEffect=2 (Hot Tracking).


Depressed. Gives sunken visual effect similar to having the mouse held down on the command button.


Applies To: CommandButton

Because the Raised setting of VisualEffect (1) conflicts with the 3D SpecialEffect setting, the VisualEffect value of 1 is ignored if SpecialEffectВ =В 0.

See Also

JavaScript Editor js editor     Web development