Sorry to say it, but:
MainWindow.Hide will NOT compile, and neither will MainWindow.Close. No error, the compiler just stops and leaves...
It seems MainWindow doesn't have all subs/functions of a "standard" QWidget activated.
/Henning
Henning wrote:Sorry to say it, but:
MainWindow.Hide will NOT compile, and neither will MainWindow.Close. No error, the compiler just stops and leaves...
It seems MainWindow doesn't have all subs/functions of a "standard" QWidget activated.
/Henning
Outlet pushButton As QPushButton
Signal on_pushButton_clicked(Checked As Boolean)
MsgBox("on_pushButton_clicked")
MainWindow.Hide()
End Signal
This works for me:
Henning wrote:@Slowdown
Thanx for testing. I've come to the same results.
It seems like MainWindow for some reason is *specal*, I don't understand why? The prfered behaviour is to mimic KBasic, any Window/Form or a Module with a Sub Main() can be the start-up Object.
The only *special* Objects as I see it are Application and Global.
Waiting for B's explanaition.
/Henning
Users browsing this forum: No registered users and 0 guests