[Gambas-devel] Bug in QT component 0.93b

Fabien Bodard abidoo.too at ...4...
Thu May 27 20:45:31 CEST 2004


Le jeudi 27 Mai 2004 18:45, Daniel Campos a écrit :
> Hello:
>
>
> QT component documentation says:
>
>
> EVENT Delete ( )
>
> Raised just before the control is deleted.
>
>
> So, the control is not yet deleted. However, I've created a project
> with two buttons, and just that code:
>
>
> PUBLIC SUB Button1_Click()
>
>   Button2.Delete
>
> END
>
> PUBLIC SUB Button2_Delete()
>
>   Message.Info (Button2.Text)
>
> END
>
>
> I should be able to read 'Text' property, as Button2 already exists.
> However, the program crashes with a segmentation fault.
>
> Regards,
>
> Daniel Campos


I remember a thing like this... when i've modified the menu.cpp to add the 
_hide event.... 

Fabien

ps :  to old ... to exactly remember it.





More information about the Devel mailing list