Our website is now www.appstudio.dev!

The use of “nsbasic” in our web site’s name has become more and more inaccurate. Most of our new users aren’t here because they program in BASIC. They’re here to get an easy to use development tool which uses modern technologies and JavaScript.

When new domains ending in “.dev” were announced, we jumped on it. The website is now http://www.appstudio.dev, reflecting what the product is today.

Nothing else has changed. It’s the same team, the same product and support.

We still support BASIC. It continues to be an important language, both for people just starting out with programming and for people who learned to program years ago. It’s always been a comfortable language that lets you get things done. We continue to respect it.

The name changes are all aliased – there’s no need to change your bookmarks. The old links will continue to work as the always have.

AppStudio 7.3.0 released!

We’re pleased to announce that 7.3.0 has been released.

The major new feature is integration with Nodejs and Electron. With these, you can now build standalone apps for Windows, MacOS and Linux.

Node integration also opens up the npm directory of modules which can be included in your app – over 750,000 of them at last count!


Watch the blog – there is more information coming.

Here’s what is new and fixed in the new release:

  1. AppStudio can now build native apps for Windows, MacOS and Linux.
  2. Node and npm can now be used. Over 750,000 modules available.
  3. Electron support added.
  4. BS: Input icon can now be clicked on.
  5. BS3: Updated to Bootstrap 3.4.1
  6. BS4: Switch.text can be used to get and set text of switch.
  7. BS4: Updated to Bootstrap 4.3.1
  8. Docs: Using Node and Electron to build Desktop Apps
  9. Project Explorer: Allow files in project root to be dragged into Project Explorer.
  10. Run: Make Windows Executable (EXE) has been removed.
  11. Run: Package for Distribution using Electron has been added.
  12. Runtime: FastClick has been turned off.
  13. Samples: BS3 Hamburger: Label was hiding Hamburger.
  14. Samples: execPython removed.
  15. Samples: New ElectronWeather sample.
  16. Windows: installer rebuilt using pyInstaller 3.4

The easiest way to get the update is on the Help menu – “Check for Updates…”

The new CSSGrid Control

AppStudio 7.2.2 introduces the CSSGrid control, which provides a grid-based layout system, with rows and columns, making it easier to design web pages without having to use floats and positioning.

You can layout your form with areas, each of which can act as a container for the actual controls you will use. It’s a big help if you want to make a responsive layout.

There is reference documentation about it in the wiki – let’s walk through a tutorial of actually using it.

Support we want to layout a form like this:

This is actually how a lot of web pages are laid out. A Header at the top, a sidebar on the the left, some content in the middle and on the right, and a Footer at the bottom. For fun, we’re making a Footer which isn’t full width.
Continue reading “The new CSSGrid Control”

AppStudio 7.2.2 released!

We’re pleased to announce that 7.2.2 has been released.

It includes new features and some bug fixes.

  1. Controls: New CSSGrid and CSSGridItem controls.
  2. Documentation: Wiki updated with new controls.
  3. Documentation: Bootstrap 3 vs Bootstrap 4 doc improved.
  4. BS4: New link to preview icons.
  5. BS4 Card: new imageWidth property added.
  6. BS4 Switch: bug fixed – no size option.
  7. Installer: Windows signing certificate updated.
  8. Samples: New CSSGrid sample.
  9. Samples: Volt Storage sample – fix to password check.
  10. Icons: Update link to point to https://www.nsbasic.com/app/OpenIconic.html

The easiest way to get the update is on the Help menu – “Check for Updates…”

AppStudio 7.2.1 released!

We’re pleased to announce that 7.2.1 has been released.

It includes new features and some bug fixes.

  1. BS4: New Toast control
  2. BS4: Select: No longer creates empty values for item
  3. BS4: Updated Bootswatch themes
  4. BS4: Switch: New Bootstrap native Switch replaces of Titatoggle’s Fliptoggle.
  5. Code Windows: Markdown (.md) files can now be edited.
  6. Deploy: loadType is now implemented.
  7. Deploy: new loadType: noload
  8. IDE: eslint dialog is reused (so there are never two visible at once)
  9. IDE: Project CSS is now marked up as CSS.
  10. IDE: Rare project corruption issues fixed – now it self fixes.
  11. IDE: Update copyright to 2019
  12. Project Explorer: Files can now be dragged and dropped. Will be deployed to the project’s root directory.
  13. Project Explorer: Folders can now be dragged and dropped. Will be deployed to the project’s root directory.
  14. Samples: Volt users – bug fixed in password check.

The easiest way to get the update is on the Help menu – “Check for Updates…”

Something from the labs: Framework Converter

We’ve been working on a way to get projects using old frameworks up to date. Bootstrap 3 has been updated to Bootstrap 4. jQuery Mobile hasn’t been updated in 5 years.

The Framework Converter is an open source project which hopes to help with this. It replaces all the controls it can in your project with the latest version from Bootstrap 4. The new controls have the same names, positions, text and other values as the original control.

You will still need to work on positioning and styling so the result looks good. Especially in the case of jQM, the web has evolved. Fonts are bigger, there is more white space and layouts tend to be less busy. The Framework Converter does the heavy lifting – you’ll still have work to do.

We’ve put the project in a Github repo called framework-converter. There is also a Wiki page here: https://wiki.nsbasic.com/Framework_Converter.

There’s some interesting technology under the hood. The project is done in AppStudio, using Node.js with npm, a huge library of addons; and Electron, a technology for packaging JavaScript into a desktop app.

Give it a try – you’re certain to have questions. Feel free to post them to our web board. If you find issues, post them to the framework-converter issue tracker on GitHub.

Enhancements to the Bootstrap 4 Select control

AppStudio 7.2 adds a useful property to the Select control: value.

It’s a hidden field which keeps a value. This could be an index or a key to a database which lets you look up a record easily when a Select choice is made.

Using this can greatly simplify your code.

Important

To make this feature work, we had to change the Select control. You may need to change your code!
1. Change Select.value to Select.text in your code: So the statements would make sense we had to rename .value to .text.
2. Check any case where you’re using .addItem. If you have just a single argument, you do not need to do anything. If you have multiple arguments on addItem, add a new value argument as the second parameter.

Example of using Select.value
Continue reading “Enhancements to the Bootstrap 4 Select control”

AppStudio 7.2.0 Released!

We’re pleased to announce that 7.2.0 has been released.

This release has a couple of breaking changes. Please read the section “Important!” below!

  1. BS4: i18n support added to iconFeedback descriptions.
  2. BS4: Select: text property added.
  3. BS4: Select: value property changed to contain an index value.
  4. Common: Container (and other controls) no longer get error on .addChild()
  5. Installer: MacOS installer is now fully code signed.
  6. Installer: MacOS now built using PyInstaller 3.4.
  7. jqW: jqWidgets 7.0 is supported.
  8. Runtime: Delay on starting app in local browser in MacOS Mojave fixed.

Important!

  • Please note that the changes to BS4 Select will break code in some cases. See Wiki.
  • The new version of AppStudio may hang the first or second time it is run. Just restart it. This is due to the new code signing requirements of MacOS Mojave.

The easiest way to get the update is on the Help menu – “Check for Updates…”