Other Basic4android v3.20 BETA is released


B4X founder
Staff member
Licensed User
Longtime User
I'm very happy to release B4A v3.20 BETA :)

This version includes many important improvements:
  • Visual designer
    • Anchors feature - makes it easier to target multiple screen sizes.
    • Copy & paste - work both inside the layout or between different layouts.
    • Undo / redo feature.
    • The views are organized in a tree for easier navigation.
    • AutoScaleAll keyword now works with all variants, not just the "standard" variant.
    • Colors fields can be copied and the colors values can be pasted or directly typed.
    • Designer script find / replace dialog.
    • The grid is saved in the layout file.
    • Landscape / Portrait designer keywords to test the current orientation.
    • UI Cloud threshold reduced to 10 seconds.
  • #AdditionalRes attribute - Makes it possible to wrap Android library projects (projects with resources).
  • Sync button in the Files tab - Syncs the project files with the Files folder.
  • Modules added to the Find Sub / Module tool (Ctrl + E).
  • Tabs order in the IDE is preserved.
  • Modules files that were not modified will not be saved thus preserving the correct time stamp.
  • DateTime.SetTimeZone now accepts a Double instead of Int.
  • Shortcuts: F11 - Restart (rapid debugger), F2 in the designer connects to the device.
  • Bug fixes and other minor improvements.
  • RerunDesignerScript is now considered a deprecated method. It will continue to run as before. However it doesn't support the new anchors feature and will fail when running in Rapid debug mode.
  • Layout files saved with v3.20 cannot be loaded with previous versions.
Make sure to backup your projects before loading them with the beta version.

Users who are eligible for a free upgrade should receive an email with the download link. Please post any issues in the forum, preferably with the BETA prefix.
Last edited:


Well-Known Member
Licensed User
Longtime User
Hi, anyone get a licence issue with SmartProperyGrid.net error.

License Failure Details
1/7/2014 10:38:24 AM


A valid license could not be obtained for 'Smart PropertyGrid.Net'. Please contact VisualHint for assistance.


No compiled licenses found.

An unexpected error occurred while validating.
Configuration system failed to initialize --> Unrecognized configuration section system.serviceModel. (C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 136)

System Info

Timestamp: 2014-01-07T10:38:24 / 2014-01-07T10:38:24Platform: Windows Vista Media Center 32-bit Service Pack 2 [6.0 Build 6002]
OS Version: 6.0.6002.131072
CLR Version: 2.0.50727.4241
Process Bitness: 32-bit
Culture: en-US / en-US
Encoding: Western European (Windows)
IIS Available: False


ActiproSoftware.Shared.Net20 * / for .NET
C:\Program Files\Anywhere Software\Basic4android\ActiproSoftware.Shared.Net20.dll

Basic4android * / for .NET
C:\Program Files\Anywhere Software\Basic4android\Basic4android.exe

mscorlib / 2.0 R 4241 for .NET 2.0

SmartPropertyGrid * / for .NET
C:\Program Files\Anywhere Software\Basic4android\SmartPropertyGrid.dll

System / 2.0 R 4235 for .NET 2.0

System.Configuration / 2.0 R 4246 for .NET 2.0

System.Deployment / 2.0 R 4016 for .NET 2.0

System.Drawing / 2.0 R 4235 for .NET 2.0

System.Web / 2.0 R 4223 for .NET 2.0

System.Web.Services / 2.0 R 4016 for .NET 2.0

System.Windows.Forms / 2.0 R 4236 for .NET 2.0

System.Xml / 2.0 R 4246 for .NET 2.0
Upvote 0


Licensed User
Longtime User


Thanks, that's also usefull but I meant when clicking a parent node in the treeview ;)
Upvote 0


Licensed User
Longtime User
I tried the sample program UserInterfaceMenu with v3.20 and get an error when I try and run it - NullPointerException
Maybe I'm doing something wrong (I'm a newbie <g>). Please let me know if this is a bug or something I need to do to make it work.
Thanks John
Upvote 0


Well-Known Member
Licensed User
Longtime User
Beta #3 is now available in the same link. It fixes the layout issue related to panels with unknown size.

@JakeBullet70 please test your project with the new version and see whether it solves the issue.

All is working now. Thanks!
Upvote 0


Active Member
Licensed User
Longtime User
1. It helps with understanding the available views and their structure.
2. Sync button:

Hello, ok, thanks for the response.
Upvote 0


Licensed User
Longtime User
The designer improvements look great.

The only problem I have is the deprecation of RerunDesignerScript().
I'm currently playing with dynamic layouts. Based on visibility of some views the layout gets rearranged. So if one item gets invisible the space is used by the other views. This is simply done by making the view invisible and rerunning the designer script to rearrange the other views.

So in my opinion the RerunDesignerScript() method is very important and is the best way to emulate the normal Android XML Layout behavior.

I even thought the RerunDesignerScriptFromClass() Method would make it into the new version.
Upvote 0