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

I have a prog that ran fine in 65 but has erros in 73 #987

Closed
OldestCoderInTown opened this issue Jul 13, 2022 · 6 comments
Closed

I have a prog that ran fine in 65 but has erros in 73 #987

OldestCoderInTown opened this issue Jul 13, 2022 · 6 comments
Labels
bug Something isn't working confirmed the issue has been verified

Comments

@OldestCoderInTown
Copy link

Describe the bug
I have a prog that ran fine in 65 but has erros in 73

I get this in a red box "Sorry, twinBASIC doesn't yet support non-modal forms. To show a modal form use Show(vbModal)"

I am not aware of asking it to show anything, never mind a non modal form.

To Reproduce
Steps to reproduce the behavior:

I load and run the prog which shows this error.

I went back to 65 and it runs ok, I have now gone back to 72 for testing. That also fails.

Desktop (please complete the following information):
Windows 10 Pro

  • twinBASIC compiler version 73

Additional context
Add any other context about the problem here.

@FullValueRider
Copy link

Try reading the bullet points for release 72

@OldestCoderInTown
Copy link
Author

I have read the bullet points, but remain ignorant of how to resolve a bit of code that needs changed, when I didn't write it, and the editor tells me I can't change it.

@WaynePhillipsEA
Copy link
Collaborator

When you hit that error, use the Callstack to view how you got there. You can't (and shouldn't) change the code in the WinNativeForms package, but instead need to change the originating code which calls the form Show() method, which will be inside your project.

@WaynePhillipsEA
Copy link
Collaborator

Apologies, I just noticed the F5 key (and the start button) is broken in BETA 71/72 when the startup object is a form, causing this problem. If you build the exe, or preview the form, or run something like Form1.Show(vbModal) in the debug console, it will work as usual. This will be fixed shortly in BETA 73, thanks for reporting.

@WaynePhillipsEA WaynePhillipsEA added bug Something isn't working confirmed the issue has been verified labels Jul 14, 2022
@WaynePhillipsEA
Copy link
Collaborator

Fixed in BETA 74, thanks.

@OldestCoderInTown
Copy link
Author

Working fine now. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed the issue has been verified
Projects
None yet
Development

No branches or pull requests

3 participants