Hello, set a breakpoint and you will see Singnal #6 "QPaintDevice: Must construct a QApplication before a QPaintDevice" ' Gambas module file PUBLIC myForm AS NEW Form AS "myForm" PUBLIC SUB Main() myForm.Show END PUBLIC SUB myForm_Open() WITH myForm .Height = 300 .Width = 400 END WITH END Gambas2 1.9.26 Gruß Reinhard