Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unload Me not implemented ? #783

Closed
aliensoftGB opened this issue Apr 5, 2022 · 6 comments
Closed

Unload Me not implemented ? #783

aliensoftGB opened this issue Apr 5, 2022 · 6 comments

Comments

@aliensoftGB
Copy link

Not sure if this has been reported previously, but here it goes.

Describe the bug
END statement not implemented
Unload statement not implemented

To Reproduce
Private Sub Command1_Click() Handles Command1.Click
MsgBox "Click OK to Close.", vbOKOnly + vbInformation
End '//Does nothing
Unload Me '//Does nothing
End Sub

Expected behaviour
Should End & Terminate the exe.

  • OS: Windows 10
  • twinBASIC BETA 7
@DinyaZ
Copy link

DinyaZ commented Apr 30, 2022

I tried to test today a small VB6 project, but found theese issues immediately. Important missing items....!

@VB6-Programming
Copy link

There is a Me.Close

@dmrvb
Copy link

dmrvb commented Apr 30, 2022

We need a Forms collection too.
A common way to end a multi-form VB6 app is:

Dim F as Form
For each F in Forms
Unload F
next

and..........
F.visible=false
does not work as expected, but I was going to wait till the GUI was a bit more developed before raising bug reports

@OldestCoderInTown
Copy link

The only way I have to close my program is to click on th X in the top right.

Any idea when END might work?

@WaynePhillipsEA
Copy link
Collaborator

End statement is now implemented in BETA 65. We'll leave this open for tracking Unload support.

@WaynePhillipsEA WaynePhillipsEA changed the title End or Unload Me not implemented ? Unload Me not implemented ? Jun 29, 2022
@WaynePhillipsEA
Copy link
Collaborator

Unload is now support in BETA 72, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants