Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: disabled button pics

$
0
0
Re: disabled button pics
FoxInCloud
Re: disabled button pics
02/13/2012
08:00:52 AM
3FK0H6H9H Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None

You are correct, I was referring to two different things.

GDI+ classes do not expose a direct opacity setting, you have to adjust the colors, brightness, etc.

this scenario is supported
(I thought previously you were looking at having .Picture automatically doomed when .DisabledPicture is empty)

Just in case, condition for changing picture when .Enabled changes is as follows:

IF PemStatus(m.toControl, 'DisabledPicture', 5); AND File(.DisabledPicture); AND File(.Picture); AND NOT Lower(JustFname(.Picture)) == Lower(JustFname(.DisabledPicture))

This implies that both pictures have a different FileName



I have a button with a picture and a disabled picture. When programatically I change the button to enabled=.t., the pic does not change and although VFP reports status enabled =.t., in the web it is not enabled.

I have wcpropsave = "left,top,enabled,visible,width". Do I need other props there as well?

Nice suggestion, thanks
Added to roadmap
thn


Why do I need to create graphics for the disabled state f buttons? Is there any way to haveit work like in VFP where the disabled state just dims the graphic?


Viewing all articles
Browse latest Browse all 10393

Trending Articles