Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CommandButton and SpecialEffect
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00576623
Message ID:
00576813
Views:
17
what is the reasoning behind only displaying the border when the button has the focus?

I was trying to make some very small buttons (height wise) and therefore get rid of the box that appears when a 3D button gets the focus as it was becoming very cluttered.

>Hi Vlad,
>
>There's a Style Property with value 1- Invisible to create invisible button. In VFP 6 the SpecialEffect property value 1 -Plain is ignored. In VFP 7 it makes button borders invisible when the button doesn't have a focus. The button caption still visible all the time.
>
>>
>>This control style is a replacement of the old FoxPro 2.0 and higher feature - a hidden button. Using such button you can organize clicking on certain area of the form to act as a pressing on button. For example, top-right corner of form clicking cause form to show specifi fields...
>>
>>>I've been playing with the SpecialEffect option for CommandButtons and I'm not sure about the results I'm getting.
>>>
>>>If I create a form with a CommandButton with its SpecialEffect property set to Plan, visually it appear with a flat box around it (as I would expect) however when the form is run the box only appear when the control gets focus - is this really what is meant to happen, its seams to be a bit of a cross with hot tracking?
>>>
>>>Any thoughts?
Caroline
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform