Version 3

From NSB App Studio
Revision as of 19:51, 28 February 2013 by Ghenne (talk | contribs) (→‎3.0.5)
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.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: .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.

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) and SysInfo(3).

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 jqPlot sample.
  7. New MinecraftSim sample. Shows off extreme PictureBox.
  8. New NSBInput sample.
  9. New Orientation sample.
  10. New samples: Grid, Tree, Menu, Grid_Northwind, ListBox
  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 Tree control.
  10. 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.

Controls