Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Command button properties
Message
 
To
29/06/2001 12:42:43
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00525247
Message ID:
00525424
Views:
17
>Greetings all,
>
>I have a flat button class that was thrown together from a container with a couple of pictures, labels, and no timer. It's fairly simple at this point but works well except for one thing. Since this is a container, there is no Cancel or Default property like a normal command button has. Is there a way to add this functionality to this class?
>
>Also, is there a way to show that the button has focus (and responds to the keyboard)?
>
The commandbutton class has a lot of functionality that is difficult/impossible to replicate with a container... why do you feel the need to create a custom button class. If you want to add/change some functionality of the commandbutton, you're probably better off modifying a subclass of the commandbutton class. Tell us what end result you're looking for.
Brien R. Givens

Brampwood Systems
Previous
Reply
Map
View

Click here to load this message in the networking platform