[Gambas-devel] Bug in QT component 0.93b

Daniel Campos danielcampos at ...45...
Thu May 27 18:45:29 CEST 2004


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


-- 
Daniel Campos <danielcampos at ...45...>





More information about the Devel mailing list