This project is read-only.

Themed Controls - Button question...

Nov 7, 2008 at 4:55 PM

I’m trying out the new Themed Controls library from VFPx, and I am trying to use the ThemedButton class from ThemedControls.vcx.

 

It works fine as an “always enabled” kind of button, but how can I make it go into a disabled state?  In my apps, I often have to disable certain command buttons based on the state of the form and other conditions. I’m sure this is  a common practice.

 

Even when I set the Enabled property on the container to .F., it is still alive.

 

It will need to support two pictures: 1 for Enabled and 1 for Disabled, and it will need to go into disabled state when it gets the enabled property set to False.

 

Is this planned or is there something I do not understand about it?

Nov 10, 2008 at 11:44 AM
Hi Matt!
ThemedButton class isn't finished yet.
There's a lot of things to implement.
This feature and many others are in the ThemedControls "To do list/wish list".
 
Regards,

Emerson