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

gian bagoneo at libero.it
Thu Aug 25 14:31:01 CEST 2022


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'

Regards
Gianluigi


More information about the User mailing list