Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CommandButton Question
Message
From
29/06/2001 05:14:24
 
 
To
29/06/2001 04:36:28
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00525072
Message ID:
00525076
Views:
17
This message has been marked as the solution to the initial question of the thread.
Jimi,

First, IMHO (and its only MO) the focus rectangle is there for a purpose!

However, you can remove it by putting a NODEFAULT in the GotFocus() method. This has side-effects, when you click the button you don't get any visual feedback/animation that would indicate the button is being pressed but the Click() does fire.

It's probably better to construct a composite object that behaves like a button but this seems like an awful waste of time just to lose the focus rectangle (again MO)?

At this point in time I don't have a better solution for you, sorry? However it may be neat to get owner-drawn control functionality in VFP8 :-)

HTH
Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform