[Gambas-user] Object.Attach Problem

Benoit Minisini gambas at ...1...
Thu Sep 14 19:25:01 CEST 2006


On Monday 11 September 2006 19:33, R. Stormo wrote:
> I have a prolem with Object.Attach.
>
> When this is set  Object.Attach(myform, ME, "myform")
>
> the form_resize does not work as it should
>
> sub form_resize ()
>
>   Panel1.Width = ME.Width
>   Print "hello"
>
> end
>
> When the object.attach is set then print hello does work but not
> pane1.width. When I disable the object.attach
>
> the function is working as it should. Is there a sensible answer for this?
>
>
> Regards Rohnny
>     http://forum.stormweb.no

If your event name is "myform", then your event handler must be named 
"myform_resize".

Regards,

-- 
Benoit Minisini





More information about the User mailing list