[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Width and Height values of a WebDrawingArea (or a web object in general)
[Thread Prev] | [Thread Next]
- Subject: Re: Width and Height values of a WebDrawingArea (or a web object in general)
- From: Linus <olivier.cruilles@xxxxxxxx>
- Date: Wed, 3 Sep 2025 14:17:31 -0400
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
- Cc: Linus <olivier.cruilles@xxxxxxxx>
Perfect Bruce, works as mentioned. Thank you Olivier > Le 3 sept. 2025 à 14:10, Bruce Steers <bsteers4@xxxxxxxxx> a écrit : > > > > On Wed, 3 Sept 2025 at 19:08, Linus <olivier.cruilles@xxxxxxxx <mailto:olivier.cruilles@xxxxxxxx>> wrote: > Hello, > > I would like to know what is the Width and Height of a WebDrawingArea (gb.web.gui) in the way to create/draw inside it using the dimension of this WebDrawingArea. > > Unfortunately when I try WebDrawingArea1.Width or WebDrawingArea1.Height I always get an empty response. > > Someone know how I could get this information please ? Did I missed something > > Thank you > > > Olivier > > Inside the WebDrawingArea_Draw event you should be able to use Paint.Width and Paint.Height properties. > > Respects > BruceS >
Width and Height values of a WebDrawingArea (or a web object in general) | Linus <olivier.cruilles@xxxxxxxx> |
Re: Width and Height values of a WebDrawingArea (or a web object in general) | Bruce Steers <bsteers4@xxxxxxxxx> |