[Gambas-user] a form within a form and Resize event

Bruce Steers bsteers4 at gmail.com
Fri Mar 10 19:43:30 CET 2023


On Thu, 9 Mar 2023 at 18:58, T Lee Davidson <t.lee.davidson at gmail.com>
wrote:

> On 3/9/23 10:32, Bruce Steers wrote:
> > I have a form
> >
> > Inside this form are some objects that are other forms.
> >
> > If i resize the top form and the inner forms also resize themselves they
> do not fire their own resize events.
> >
> > I think they should, as they are actually being resized.
> >
> > Respects
> > BruceS
>
> Are you creating the Child forms with an EventName, or just expecting the
> Parent to catch the event?
>

Yes i tried using an event name but i didn't get a handle_Resize event when
resizing the parent form.

What I expected was for the child forms own Form_Resize() method to run
even though the parent form was being resized.  because resizing the parent
form resized the child form.

Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230310/708b8ce6/attachment.htm>


More information about the User mailing list