Custom JavaScript messages to WKWebViewControlMBS


When using WKWebViewControlMBS control in your Xojo projects, you can use WebKit 1.x (32-bit) and WebKit 2.x (64-bit) transparently. Depending on the bit setting of your Mac application, the plugin uses either the newer or older classes from WebKit.

Now with macOS 10.10 (and iOS 8.0) Apple introduced the ability to install custom JavaScript message handlers for WKWebView. We just added them for our plugins to call back from JavaScript to Xojo code. First you call in your 64-bit Mac app the addScriptMessageHandler method on the control to register a name:

browser.addScriptMessageHandler "test"

Next you can use it in Javascript, e.g. via evaluate:

browser.EvaluateJavaScript("window.webkit.messageHandlers.test.postMessage('Hello');")

As you see, we get for our message handler a new entry in the namespace called window.webkit.messageHandlers.test. This allows us to call postMessage method there and this triggers the didReceiveScriptMessage event in our control. So we implement an event to show via msgbox what we got:

Sub didReceiveScriptMessage(Body as Variant, name as String)
  MsgBox name+EndOfLine+body.StringValue
End Sub

This works nice in first tests and we'd love to see what you can do with this technique. Data from JavaScript is converted to Objective-C types and than converted to Xojo data types. So arrays, numbers, dictionaries and strings should work well. Please try with next prerelease or email us for a copy today.

Check our QuickLook Plugin for Xojo and Real Studio Projects


We updated our QuickLook plugin to version 1.5 to support future Xojo version.

You have several Xojo and Real Studio versions in use? Want to know in advance what version a project has?
Well, in that case, try our plug-in for QuickLook: MBS-Xojo-QuickLook-Plugin.dmg

After installation of our plug-in to /Library/QuickLook and you run "qlmanage -r" in Terminal app or logged in the next time, your icons look like this:

Enjoy! This plug-in is freeware, so tell your friends. Version 1.5 adds support for newer Xojo versions.

One day left for Omegabundle Mini for Xojo Web 2017 Dev Tools Bundle


Get the best developer tools and third party components for the Xojo Web web application development for limited time. Ends 15th December 2017.


Omegbundle Mini for Xojo Web 2017 is a collection of 40+ of the most useful tool sets, add-ons and components for use with Xojo Inc's Xojo development environment. If purchased individually, the savings of the bundle is over $547. Omegabundle Mini for Xojo Web 2017 costs $199.

This is a very limited special offer available from November 24, 2017 (Black Friday) through December 15, 2017.

Xojo is an award-winning, cross-platform development tool for the Desktop (OS X, Windows, Linux), Web, iOS (iPad/iPhone) and Raspberry Pi. With Xojo, you can create native applications by using drag-and-drop to build your user interface and then one straight-forward programming language to enable the functionality. Xojo is powerful and modern, yet easy to use and learn. Download Xojo today and see for yourself.

Xojo Web lets you build your web app user interface with drag and drop. With built-in support for graphics, database servers, internet protocols and more, you can build anything. If you have been thinking about making the leap from desktop or mobile Xojo development to web, Omegabundle Mini for Xojo Web 2017 gives you all the best third party tools at one very good price!

Included Products
  • GraffitiSuite Web Edition. Over 40 controls and classes cover just about all your user interface needs for building Xojo Web applications. Regularly $199.
  • Monkeybread Web Starter Kit. Everything you need to begin creating your first Xojo Web app. Regularly $149.
  • LeRoy Software Web Bundle. Featuring Web Calendar View, Web Chart View, and four other controls. Regularly $199.
  • Valentina Studio Pro. The ultimate reports designer and professional database administration tool. Participants in Omegabundle for Xojo 2016 & 2017 can instead upgrade to UNIVERSAL. Regularly $199 or $239.
You can find additional information about Omegabundle Mini for Xojo Web 2017 from the Omegabundle website or order now through the Paradigma Online Store. Please allow up to three business days for all components to be supplied by email by participating vendors.

Xojo Meetings for Montreal and Toronto


As I travel to Montreal for the Québec FileMaker conference, I'd love to have some Xojo meetings with local developers:

If you live in this part of Canada, or you like to come over from the USA, please join those surveys to find the perfect date between 12th to 19th March 2018:

Survey for Toronto   Survey for Montreal

I know I have 15 Xojo developers using my plugins in Montreal alone and about 30 in Montreal.
If you like to join, please contact me soon.

I reserve a table in a nice restaurant and I will be there. You can join and we can shop talk all night. Ask me plugin questions, bring your laptop and show projects.
And of course we discuss latest changes in Xojo, upcoming conferences and what's new in plugins.

Of course it is possible to arrange private meetings for consulting while I am in the city.

MBS Xojo Plugins, version 17.6pr3


New in this prerelease of the 17.6 plugins:
  • Changed OptionCAINFO, OptionCAPATH, OptionCookieFile, OptionCookieJar, OptionIssuerCert, OptionNETRCFile, OptionRandomFile, OptionSSHPrivateKeyfile, OptionSSHPublicKeyfile, OptionSSLCert, OptionSSLKey for CURL to use always UTF-8 on Mac and to do the unicode transformation for decomposed characters to avoid trouble with special characters in file paths.
  • Fixed an issue with exception handling on 64-bit Linux introduced in 17.3.
  • Fixed an issue in file handling from pr1 where file path was freed instead of decreasing reference count.
  • Added camera configuration properties for RaspberryPiCameraMBS class.
  • Fixed bugs with DynaPDF Print and scaling pages for some printers.
Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

MBS Xojo Web Starter Kit in version 1.3


Nickenich, Germany (December 13rd, 2017) -- Monkeybread Software releases version 1.3 of the MBS Xojo Web Starter Kit

The MBS Xojo Web Starter Kit is a starting point for building your Web Applications with Real Studio or Xojo.

Especially our Web Signature Kit allows you to easily capture signatures on a tablet device with your web application. You can of course simply use it as a drawing area, too.

New in Version 1.3:
  • Added email field for users
  • Added Status app to run on desktop and watch status several servers
  • Added Status REST API for the Status app to query status of web app
  • Added email sending function using MBS CURL Plugin
  • Added password reset feature via email with link
  • Added possibility to disable an user
  • Added ConfigurationModule for constants
Existing features of our Web Starter Kit:
  • Database Support including SQLiteDatabase, MySQLCommunityServer, CubeSQLServer and SQLDatabaseMBS. Other databases can be added easily.
  • Simple User Management for Admins and normal users.
  • Login Panel.
  • Auto login, so people don't need to login each time.
  • Collects Exceptions and JavaScript Errors in database and displays them to Admin..
  • Allows logging to text file and database and displaying them.
  • SQL Console with download of database and query result as CSV file.
  • Session management for admin to see what users do..
  • Chat Window.
  • Creates Backup of database.
  • Object browser and memory statistics.
  • Messages for Admins to/from users.
  • File Browser.
  • Shows how to cache images/files to save memory.
  • Allow user to reset password by email
  • Allow users to be disabled
  • and much more...
You can use the Kit as a foundation of your new web application or simply copy the parts you need to your own web application. This Kit is the result of putting together all the goodies we developed in the last two years for various web applications. Things we believe everyone could need in their own solution. And of course in the next years, we will add more functions depending on user requests.

Our Web Starter Kit requires Xojo 2013 or newer and a license of the MBS Xojo Plugins. The Kit uses a couple of plugins.
The Web Starter Kit is available for $149 USD or 99 Euro (+VAT if needed). Order
You can learn more and try the demo on our website.

Our Web Starter Kit is included in OmegaBundle Mini for Web.

MBS Xojo Plugins, version 17.6pr2


New in this prerelease of the 17.6 plugins: Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder. Update: Please don't use this prerelease. Due to a bug we free memory on file access which should not happen! Will be fixed for pr3.

Three weeks till year's end


The year 2017 will end in less than three weeks. Do you need some more licenses?
  • You can order licenses for 2018 or later and have invoice, delivery and payment done in 2017.
    This way you secure the current pricing and the possibility to keep upgradeability for older licenses.
  • And of course you can order updates for several years in advance for all your MBS products.
  • DynaPDF licenses are on sale for December 2017 with 25% automatically.
  • As all our Xojo and DynaPDF plugin licenses are per developer, you should check if you got a new developer in your team this year and adjust licenses to match team size.
  • If you need a Xojo license (new or update), we can always check whether a bundle with Xojo offers an advantage for you. Or we can point you to the next sale or a coupon code for the Xojo Store.
  • For FileMaker please check if you have enough license for the number of seats or servers you have in use.
    If you upgrade to unlimited seats or servers, the plugin won't need to check the usage.
Especially if you run on a budget and you want to spend some money in the old year, you can buy updates for several years in advance.
If you need help to decide what Xojo, FileMaker or plugin license you need, we may be able to assist you.

One week left for Omegabundle Mini for Xojo Web 2017 Dev Tools Bundle


Get the best developer tools and third party components for the Xojo Web web application development for limited time. Ends 15th December 2017.


Omegbundle Mini for Xojo Web 2017 is a collection of 40+ of the most useful tool sets, add-ons and components for use with Xojo Inc's Xojo development environment. If purchased individually, the savings of the bundle is over $547. Omegabundle Mini for Xojo Web 2017 costs $199.

This is a very limited special offer available from November 24, 2017 (Black Friday) through December 15, 2017.

Xojo is an award-winning, cross-platform development tool for the Desktop (OS X, Windows, Linux), Web, iOS (iPad/iPhone) and Raspberry Pi. With Xojo, you can create native applications by using drag-and-drop to build your user interface and then one straight-forward programming language to enable the functionality. Xojo is powerful and modern, yet easy to use and learn. Download Xojo today and see for yourself.

Xojo Web lets you build your web app user interface with drag and drop. With built-in support for graphics, database servers, internet protocols and more, you can build anything. If you have been thinking about making the leap from desktop or mobile Xojo development to web, Omegabundle Mini for Xojo Web 2017 gives you all the best third party tools at one very good price!

Included Products
  • GraffitiSuite Web Edition. Over 40 controls and classes cover just about all your user interface needs for building Xojo Web applications. Regularly $199.
  • Monkeybread Web Starter Kit. Everything you need to begin creating your first Xojo Web app. Regularly $149.
  • LeRoy Software Web Bundle. Featuring Web Calendar View, Web Chart View, and four other controls. Regularly $199.
  • Valentina Studio Pro. The ultimate reports designer and professional database administration tool. Participants in Omegabundle for Xojo 2016 & 2017 can instead upgrade to UNIVERSAL. Regularly $199 or $239.
You can find additional information about Omegabundle Mini for Xojo Web 2017 from the Omegabundle website or order now through the Paradigma Online Store. Please allow up to three business days for all components to be supplied by email by participating vendors.

MBS Xojo Plugins, version 17.6pr1


New in this prerelease of the 17.6 plugins:
  • Fixed a crash with JSONMBS class.
  • Improved JSON handling to break circular references.
  • Updated Rockesy4ND library for macOS to better support macOS High Sierra.
  • Added checks to IconMBS class to make sure you don't get corrupted images.
  • Changed CFURL to/from folderitem to use NativePath/URLPath instead of FSRef.
  • Fixed an issue with file path handling for Mac XL Plugin. Now handles composed unicode characters better.
  • Updated DynaPDF to version 4.0.14.40.
  • Updated CURL library to version 7.57.0.
  • Updated OpenSSL to 1.1.0g and 1.0.2m
Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

List of DynaPDF error codes


For your convenience, here a list of all error codes with messages for lookup.

DynaPDF Error List

Don't forget the DynaPDF Christmas Sale. A great chance to upgrade and add maintenance at lower prices.

Xojo 2017r3 available


Xojo Inc. today released Xojo 2017r3.
See Announcement, Download, Release Notes

The new Xojo 2017r3 release brings us a 64-bit IDE. That is great news, but may require some updates on your plugins. The recommended version for MBS Xojo Plugins is the current version 17.5 which contains important fixes to load plugins at all on Windows. Over the year we fixed a couple of 64-bit related bugs, so please do not use the older ones and find those bugs. All plugin versions older than 16.0 do not load at all in the new IDE due to missing 64-bit code.

Due to limits on Windows for the number of plugins, you may not see all plugins loading. Some older plugins which are not supporting 64-bit well enough, may not load. When moving to 64-bit, please also consider moving code from QuickTime to AVFoundation on Mac.

Still you can build 32-bit applications, so no worry on that.

See also: Xojo and Real Studio versions supported by MBS Plugin, MBS Xojo Plugin 17.5 Announcement and
Windows DLL Limits and Xojo 64-bit IDE

PS: Blog post from Bob Keeney: Xojo 2017 R3

Following the license rules


We are software developers and make a living from selling our software. Ourselves we pay for licenses to enable others to make a living. This includes paying royalties for libraries used in our plugins which enable the continued development of those libraries. And we expect our clients to pay their license fees and indeed the majority does it correctly and pays their bills.

Technically we don’t enforce it directly. Xojo itself has a server based activation, FileMaker Pro doesn’t, but the Server talks back to FileMaker Inc.. Personally we don’t like to use an activation for the plugins, so we only check license keys locally. We also do some statistics on the usage of the plugins, so we know what versions are in use on which operation systems. And we can see which license keys are in use.

The licensing terms for Xojo and FileMaker are quite clear. You can have a trial for FileMaker Pro and for Xojo simply use the software without a license. Those are limited in a couple of ways. But when you get productive, you should really get a license key. You need one license per developer and you do not share license between developrs. For Xojo you need to have a Pro key to use version control software, so you buy the Pro licenses when you want take part in a bigger development project. For FileMaker you should have a license for Pro Advanced when you develop and of course you pay it.

For using plugins we expect that you match the licenses for plugins with those for Xojo and FileMaker. So if you have two Xojo licenses for two developers and both developers work on the projects using the plugins, we expect you to buy two licenses. We want bigger companies to contribute more for the tools than a small one person company. For FileMaker you pay for each server a license to FileMaker Inc. and we expect that you also pay for each server using MBS Plugin the license fee to us. That may result in paying for every developer including trainees and managers. We do know that some things may be temporary and for that reason like to issue trial keys to use our plugins without paying for a limited time.

Luckily the statistics show that nearly everybody obeys the licensing terms and that makes me happy. We do have Xojo plugins in use for development on at least a thousand computers. We don’t know about deployment as we don’t want to track that! Still MBS Xojo Plugins is used in thousands of applications with properly hundred thousands installations. I know some Xojo applications using my plugins which sold over 10000 times. Our FileMaker plugin is used on tens of thousands computers and that makes us happy. We got some success there over the years.

On the other side the statistics reveal some really bad guys. We learnt that there are license keys used, which we never created. Someone clearly hacked the plugins. And some users really use the plugin on much more computers than intended. Like the company who runs 26 servers with just one server license for our FileMaker plugin. Or a company with eight Xojo developers and just one license key. Same with a FileMaker solution with a 5 seats key, which was in use on 21 computers on a single day last month. And those calculations include a filter which removes the occasional use of a key for a day or two on another computer.

Today I double checked this and contacted a few clients which exceed the license terms a lot. Not the job I like to do.

Birthday of our video page


Ten years ago we started created tutorial videos and today our video page has birthday. Enjoy a video and learn about our plugins.

Over the years we collected more than 80 videos. We hope you enjoy them!

Watch Xojo Videos - FileMaker Videos

Youtube channels:

We know we could make more videos. So what wishes do you have?
Please email us or post a comment here.

DynaPDF Christmas Sale


We just got notice from DynaForms about their Christmas Sale for this year:

Christmas Special: 25% Off on anything!

As a thank you for the good collaboration and your trust, you get 25% Christmas Discount on anything til the end of the year!

I wish you and your family Merry Christmas and a successful new year.

With kind regards

DynaForms GmbH

The MBS online shop is updated and we reduced all our DynaPDF prices by 25%. So if you need a new license or updates for up to five years, please order. If you have questions, please do not hesitate to contact us.
Order for Xojo - Order for FileMaker

Archives

Dec 2017
Sep 2017
Aug 2017
Jul 2017
Jun 2017
May 2017
Apr 2017
Mar 2017
Feb 2017
Jan 2017
Dec 2016
Nov 2016
Oct 2016
Sep 2016
Aug 2016
Jul 2016
Jun 2016
May 2016
Apr 2016
Mar 2016
Feb 2016
Jan 2016
Dec 2015
Nov 2015
Oct 2015
Sep 2015
Aug 2015
Jul 2015
Jun 2015
May 2015
Apr 2015
Mar 2015
Feb 2015
Jan 2015
Dec 2014
Nov 2014
Oct 2014
Sep 2014
Aug 2014
Jul 2014
Jun 2014
May 2014
Apr 2014
Mar 2014
Feb 2014
Jan 2014
Dec 2013
Nov 2013
Oct 2013
Sep 2013
Aug 2013
Jul 2013
Jun 2013
May 2013
Apr 2013
Mar 2013
Feb 2013
Jan 2013
Dec 2012
Nov 2012
Oct 2012
Sep 2012
Aug 2012
Jul 2012
Jun 2012
May 2012
Apr 2012
Mar 2012
Feb 2012
Jan 2012
Dec 2011
Nov 2011
Oct 2011
Sep 2011
Aug 2011
Jul 2011
Jun 2011
May 2011
Apr 2011
Mar 2011
Feb 2011
Jan 2011
Dec 2010
Nov 2010
Oct 2010
Sep 2010
Aug 2010
Jul 2010
Jun 2010
May 2010
Apr 2010
Mar 2010
Feb 2010
Jan 2010
Dec 2009
Nov 2009
Oct 2009
Sep 2009
Aug 2009
Jul 2009
Apr 2009
Mar 2009
Feb 2009
Dec 2008
Nov 2008
Oct 2008
Aug 2008
May 2008
Apr 2008
Mar 2008
Feb 2008