[Gambas-user] PictureBox cache issue

Bruce Steers bsteers4 at gmail.com
Sat Feb 27 17:14:22 CET 2021


Looking at the code id say it shouldn't work in stable.

It's defined in the stable _Properties as -Cached (minus sign),
it should exclude it from the UserControl list but if it does not then that
I would say is a bug and it's not meant to be used.

Public Const _Properties As String =
"*,-Arrangement,-Spacing,-Margin,-Indent,-Invert,-NoBackground,-Tablet,-Cached,-Focus,Padding{Range:0;64},Picture,Stretch,AutoResize,Alignment{Align.*}=TopLeft,Border{Border.None;Plain;Sunken;Raised;Etched},Mode{PictureBox.Normal;Fill;Cover;Contain;Repeat}"


and it's not a UserControl now in master it's a DrawingArea so the Cached
property does not exist.

All the best
BruceS


On Sat, 27 Feb 2021 at 15:16, Charlie Ogier <charlie at cogier.com> wrote:

> Hi All,
>
> I have discovered that the following line works in Gambas Stable but
> Gambas Daily reports 'PictureBox.Cached' is not a property.
>
> PictureBox1.Cached = True
>
> Is this right?
>
> Charlie
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210227/9580be45/attachment.htm>


More information about the User mailing list