Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the Command Button background
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00346739
Message ID:
00347706
Views:
28
>>So how come VB can do it?
>
>Simply because VB controls are windows, VFP's aren't. That's why the MS Forms 2.0 Command Button has a setable backcolor. You're setting the window backcolor. Since it may be desirable to have a window who's backcolor is something other than the standard, such as a splash screen, that's modifiable.
>

Well, that still doesn't answer the question of why a VFP command button has no control over that property. Don't waste anymore time over it, I really don't care. < BG > If I want a button to be "colorful", I use a picture.

>As a side note, for some reasons, I can't get VB 6.0 command buttons to "take" a background color. I'm not sure what the reason is. Erik Moore tested it under Win2K with problems, but I can't get it to work under Win98SE. I'm assuming incompetence on the part of the developer.:-)

I'm sure as we go further and further with the new OS, we might find even more "oddities" that occur. Right now, I've got one that's got me baffled. I have a listbox that multi-select does not work correctly on. This is on a desktop machine with '95, and a laptop with '98. However, the SAME CODE works on every other machine that I've tried it on ('95,'98,NT,W2K). It seems to be only when *I* have installed VFP that it works incorrectly. If someone else does it, it works OK?!? Sigh, I just live with it for now.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform