[Gambas-user] WebDrawingArea having trouble getting / setting size

Bruce Steers bsteers4 at gmail.com
Thu Aug 25 14:52:09 CEST 2022


On Thu, 25 Aug 2022 at 13:41, gian via User <user at lists.gambas-basic.org>
wrote:

> Il 24/08/22 11:20, Bruce Steers ha scritto:
> > Hi all
> > So i'm trying to make a custom button using WebDrawingArea
> >
> > Everything seemed to mostly work (had to manually set width as it did
> > not detect it just height. but was okay once set)
> >
> > Next i copied the code into another doc and made it Inherit WebControl
> > and modified to work.  but it doesn't :(
> > Now it cannot get the width again.
> > Paint.Width remains 0 thus messing up my drawing commands :(
> > Any ideas?
> >
> > Many thanks
>
>
> Hi,
>
> If I run your program I get the error:
> 'Unknown symbol Font in class Paint'
>

Doh, oh yeah sorry Gian i have added Font and FillText to my gb.web.gui and
forgot  :-\
Thanks for looking though
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220825/c867f96b/attachment.htm>


More information about the User mailing list