On May 30, 2008, at 4:21 PM, Sean Arney wrote:
> Oddly, this no longer seems to work:
What's odd is that this ever worked.
> Dim p As Picture
> Dim m As Picture
>
> p = UKIcon128
> p.Mask = UKIcon128M
You should not have been able to assign to picture.Mask. Picture.Mask
is an accessor (like a computed property) that returns a new or
existing picture. Assigning to it has never been supported AFAIK.
> p.Transparent = 1
And this is pointless if your picture has a mask. Use Transparent
mode, or use a Mask; you can't use both.
When you do try to use both, I don't think the behavior is defined.
> What the hey? Anyone know whats up here? It says at p.Mask =
> UKIcon128M that this method or property does not exist.
Good for it. Sounds like they fixed the bug that let you believe you
were assigning to the Mask property. Instead, you should do:
p.Mask.Graphics.DrawPicture UKIcon128M, 0, 0
And leave out the .Transparent line entirely.
Best,
- Joe
--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|