Version 3

From NSB App Studio
Jump to navigation Jump to search

Documentation for AppStudio 3.0

If you own a previous version of AppStudio, you need to buy the upgrade to use version 3.0. You can do this from within the app or from our order form.

Until you have bought the upgrade, you can use AppStudio 3 in Demo mode. Once you buy, your copy will convert automatically to the full version.

Updates to 3.0

3.0.7 (not released yet)

  1. Deploy: Error on incorrect PhoneGap log in fixed.
  2. Deploy: PhoneGap settings are project specific as well.
  3. Design Screen: TextArea no longer expands if text too large.
  4. Design Screen: Pasted controls remain selected.
  5. Design Screen: Pasting multiple controls does not go into a loop.
  6. Design Screen: Projects with SQLImport no longer have problems.
  7. Design Screen: Form style now shows properly.
  8. Design Screen: No longer compiles code.
  9. Design Screen: Outline of selected control changed to dotted.
  10. Docs: On Mac OS, do not use 'US International Keyboard'.
  11. Deploy: Problem deploying to PhoneGap account fixed.
  12. Deploy: Add splash screen timeout to Phonegap configxml
  13. IDE: General cleanup to internals of project open/save/close
  14. IDE: Minimum iOS version is now documented as 4.3
  15. IDE: Projects in read only folder can now be opened.
  16. IDE: Registry problem with unicode fixed.
  17. IDE: Error in Save As into same folder fixed.
  18. IDE: When switching forms, sometime the form would be selected, not the control.
  19. IDE: Use of temp folders improved.
  20. IDE: Default folder selection improved.
  21. Internationalization: Several languages have had much more translated.
  22. Language: Add SysInfo(5) - returns device pixel ratio.
  23. Samples: Can no longer be overwritten
  24. ToolBox: jqxGrid: SelectMode now allows multiplecellsextended
  25. ToolBox: Multiple ToolTips now allowed.
  26. Toolbox: popupmsg editor improved.
  27. ToolBox: ToolTip icon can now be changed.
  28. ToolBox: Select.addItem() now adds value of 0 correctly.
  29. ToolBox: jQM RadioButton.value() nows returns values starting with 1, not 0. Possible breaking change.

3.0.6

  1. Deploy: Preferences can now be set for individual projects. This is done in Preferences: prefs can be set for the Global Location (all projects) or Project Location (the current project).
  2. IDE: (Mac) Environment error fixed.
  3. IDE: Shortcuts on menus should be fixed in French and other languages.
  4. IDE: Unicode problem with browser start fixed.
  5. Runtime: Fixed problem with form not restoring properly after keyboard shown.
  6. Samples: Add new features to jqWidgets Grid
  7. Toolbox: Always load iScroll if EULA is enabled.
  8. Toolbox: jQuery Mobile TextArea no longer resizes if text does not fit.
  9. Toolbox: New ToolTip control (Thanks, Erkan Kaplan!)
  10. Toolbox: Orientation message is now customizable.
  11. Toolbox: Test version of PopUp control added.

3.0.5

  1. Design Screen: Alt-arrow keys can be used to nudge controls.
  2. Controls: ComboBox: setIndex() is now zero based, to be consistent with other calls. (Used to be 1 based - could be a breaking change if you use this function)
  3. Controls: ComboBox: setText() added.
  4. Controls: ComboBox: setValue() fixed.
  5. Controls: jqxGrid: Export function now works.
  6. Controls: jqxGrid: Grouping now works. Make sure groupcolumnrenderer is blank, not null.
  7. Controls: MultiInput: Width can now be set in Design Screen and runtime. Top fixed.
  8. Controls: PictureBox: Width and Height can now be set at runtime.
  9. Controls: RadioButton and Grid: .Width now works.
  10. Project Explorer: Right click to delete form works.
  11. Runtime: Calculation error in Month() function fixed.
  12. Samples: jqWidget SwitchButton sample improved.
  13. Samples: jqWidget ListBox sample improved.
  14. Samples: Signature sample improved.
  15. IDE: Regional versions of languages revert to main version.
  16. IDE: Toolbox blanking out has been fixed.
  17. PhoneGap updated to 2.5.0.

3.0.4

  1. Grid: Should work as it did in 2.6
  2. Controls: refresh() on a non scrolling control now does nothing.
  3. RadioButton: Height should work better. Setting Height and Width on jQM version lets these properties be calculated automatically.
  4. Date, DateTime, Month and Time: should position properly.

3.0.3

  1. Grid: Left, Top, Width and Height should now work well.
  2. RadioButton: Classic RadioButton now OK in same app as jQM controls.
  3. RadioButton: Now resizes height properly on Design Screen.
  4. RadioButton: New .getItemCount function
  5. jqxGrid: Now includes jxqnumberinput.js
  6. PictureBox: Now sizes properly using Left, Top, Width, Height and resize.
  7. List: Now sizes properly using Left, Top, width, height and resize.
  8. jQuery Mobile 1.3: Final release version now included.

If you have been using the _scroller or _wrapper tag as a workaround to manipulate controls, it will no longer work. Change your code to use Left, Top, Width and Height directly to the control.

3.0.2

  1. Code Window: Changing Language automatically resets the Code Window
  2. Language: control.left automatically becomes control.Left (same with top, width and height) on first deploy. As a result, it will take longer the first time and return to normal thereafter.
  3. Translation files updates: Thai is now complete!

3.0.1

  1. Code Window: Block commenting for JavaScript fixed.
  2. Mac: Find dialog raised when invoked - it was getting lost.
  3. Properties Window: The id property must start with a letter.
  4. Runtime: control.resize fixed.
  5. ToolBox: ComboBox.selectedIndex() fixed.
  6. ToolBox: Label (and others) can now have unicode characters.

IDE

  1. Mac OS 10.7 and later is now supported.
  2. Native IDE support is substantially complete for 17 languages
  3. Multiple frameworks can be used in the same project
  4. New Preferences screen.
  5. Preferences screen now has IDE language picker.
  6. About Screen now has a View Log button to view the latest error in the IDE. Cmd-click (Mac) or Ctrl-click (Win) on the button to open the log folder.
  7. Error reporting improved.
  8. Framework prompt removed from New Project.
  9. Framework property removed from Project Properties.
  10. ID of Code Module can now be changed.
  11. Installing on a path with unicode chars (like umlaut) now works.
  12. New AppStudio icon
  13. New globalfont property.
  14. New HomescreenTitle property (for iOS)
  15. New Project dialog rewritten.
  16. Open Sample dialog rewritten.
  17. Product name changed from NS Basic/App Studio to NSB/AppStudio.
  18. Registry keys now support unicode.
  19. Project IDs can now have unicode.
  20. The first time an app is run in the new version, it will take a bit longer to compile. It will be normal thereafter.
  21. JavaScript can be specified as the language in Form Properties.
  22. JavaScript can be specified as the language in Code Module Properties.

Design Screen

  1. Major rewrite
  2. Clicking in the area outside the Design Screen no longer messes up the cursor.
  3. Highlighting of controls works much more consistently.
  4. Multiple select dragging works
  5. New drag handles on controls
  6. New tab at bottom to switch to Code Window
  7. Right click to switch to Code Window

Code Window

  1. Allow up to 99999 lines in a file
  2. Autocomplete added for localStorage, sessionStorage and location
  3. Block comment respects language setting
  4. Cyrillic text can now be pasted in
  5. Don't autocase .close
  6. Find/Replace improved.
  7. Fix false syntax error on Try
  8. Fix problem with autocase on Replace()
  9. JavaScript support improved
  10. New tab at bottom to switch to Design Screen
  11. Right click to switch to Design Screen
  12. Right click to view JavaScript
  13. Shortcut pulldown now sorted as case insensitive.
  14. The case of control names is autocorrected.
  15. Autocomplete will not happen in the middle of a string

Deploy

  1. PhoneGap: Add missing keyword argument.
  2. PhoneGap: Add support for PhoneGap 2.4RC1
  3. Recover gracefully if file missing.
  4. Handle unicode characters in SQLite database

Runtime

  1. Language: NSB.EULA added.
  2. Language: NSB.ShowProgress added.
  3. Language: Print made much more useful.
  4. Language: Removed NSBFramework global variable.
  5. Language: SQLImport() improved.
  6. Progress message on loading improved.
  7. Runtime: If form does not have onsubmit code, ignore keyboard Go button.
  8. Runtime: NSB.InputBox and NSB.MsgBox no longer leak clicks to underlying buttons.
  9. Runtime: NSB.InputBox and NSB.MsgBox now more responsive on touch screen devices.
  10. Runtime: Tweaks to SysInfo(2), SysInfo(3) and SysInfo(4).

Libraries

  1. jQuery: Updated to 1.9.0
  2. Library: Add2home updated for iPhone 5.
  3. Library: Update iScroll to 4.2.2.

Samples

  1. Camera sample enhanced for iOS6.
  2. Descriptions updated.
  3. Headerbar sample improved.
  4. Moved to My Documents/AppStudio Samples. (Win)
  5. New BusyIndicator sample.
  6. New JqxChart sample.
  7. New MinecraftSim sample. Shows off extreme PictureBox.
  8. New NSBInput sample.
  9. New Orientation sample.
  10. New samples: Grid, JqxTree, Menu, Grid_Northwind, JqxListBox
  11. Northwind sample enhanced to show an update.
  12. Old format manifest entries updated.
  13. SAP sample updated to use better PGP script.
  14. Themeroller sample improved.

ToolBox

  1. To move controls, use .Left, .Top, .Width and .Height (note first letter is capitalized.)
  2. Add new Orientation control.
  3. Added contenteditable property.
  4. Adsense: does not display if offline or not on a mobile device.
  5. All controls now hide if hidden=true.
  6. Controls can have their own clientBoundingRect.
  7. Controls from different frameworks can be used in the same project
  8. Get rid of _offsetX, _offsetY in toolbox files.
  9. Get rid of NSBWidget base control
  10. Grid: fix scrolling error
  11. HTMLView: fix scrolling error
  12. More properties and keywords added.
  13. Show 'False' in Property Window if control not hidden.
  14. Toolbox reorganzed

jQuery Mobile

  1. Updated to Version 1.3. Read about the changes here.
  2. Button: Groups now work differently (breaking change!)
  3. FlipToggle width can be changed.
  4. Footerbar no longer gets an error if no click routine is defined.
  5. HeaderBar, NavBar and FooterBar no longer get errors if there are spaces in the button name. The value sent to the click event will replace the spaces with "_" characters.
  6. List width can be changed.
  7. RadioButton can now adjust height, width and font size in IDE.
  8. Select: Groups now work differently (breaking change!)
  9. Hidden and Readonly properties fixed.

jqWidgets

  1. Add 11 new themes.
  2. Control id can now be changed.
  3. Files are loaded from jqWidgets website, not locally.
  4. New Calendar control.
  5. New Grid control.
  6. New ListBox control.
  7. New Menu control.
  8. New RadialGauge control
  9. New SwitchButton control
  10. New Tree control.
  11. ToolBox now uses jqWidget icons

iWebKit

  1. Default classic button has improved border styling.
  2. This framework used to be called Classic. It is no longer being maintained by its author.

Documentation

  1. All documentation has been converted into a Wiki. All of the existing Handbook, Language Reference, Technotes and Tutorials have been merged into it.
  2. The IDE now points to the correct spot in the Wiki.
  3. Wiki can run offline, but search function does not work.

Translator

  1. a=Abs(Abs(1)) translates incorrectly.
  2. Allow expressions in Select.
  3. Case "Narcis" fixed.
  4. Case clauses can now have multiple comma separated values.
  5. Code indentation improved.
  6. Compile: Fix intermittent crash on compile with SQLite.
  7. Dim a(10): a(1).test=1 fixed.
  8. exp() and atn() fixed.
  9. Expression with comma in string could add extra space character.
  10. Fix Not in If statements.
  11. Fix using function name in SetTimeout.
  12. Hour(x) function argument is now used.
  13. InStr() and Replace() now handle vbTextCompare properly.
  14. IsDate("testing") returned true.
  15. Line continuation in comments did not work properly.
  16. Problem with DatePart("w") fixed.