Code is now reverting to Javascript

I’ve opened up an old project which is in BASIC. After adding a new form, when I go to add any event, the code generated is now reverting to Javascript format.

I check the project properties, and for some reason, it was on Javascript.

I have changed that to BASIC, but it ignores this and still puts Javascript in when I add an event. Have just updated to, shut down, restarted, reloaded the project - which now shows BASIC as the language but it’s still putting Javascript in.

Any ideas?

I’ve just added a new form, and it’s correctly going to BASIC now - so looks like NSB will hold a form in whichever language was in the project properties at the time I created the form - is that right?

That’s correct. A project can have both JavaScript and BASIC in it.

1 Like