Xojo Conferences
Our Blog, Filemaker only, Xojo only, Archive (older)

Follow us on Twitter, Xing, LinkedIn or Facebook.

MBS Xojo Plugins, version 19.1pr3

New in this prerelease of the 19.1 plugins: Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

MBS FileMaker Plugin, version 9.1pr3

New in this prerelease of version 9.1 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

Connecting to PostgreSQL with SSL and client certificate file in Xojo

You can pass various options when connecting to PostgreSQL server with SQLDatabaseMBS or SQLConnectionMBS classes in our MBS Xojo SQL Plugin. This includes several SSL options. If ssl mode is require, the SSL encryption is required. But only if you provide local certificate chain and the mode verify-full, the chain of certificates is validated. So if someone puts in a proxy with their own certificate, your application would not connect.

So here a sample code about how to connect with a client side certificate, a private key and the root certificates to validate against: (more)

Scroll through records with mouse wheel on MacOS

As you may know we already made functions to catch scroll wheel events for FileMaker on Windows and trigger a script to move between records.

FileMaker Pro Advanced 17 misses the feature for mouse wheel navigation for the navigation view in the toolbar.

For MBS FileMaker Plugin 9.1, we added MacOS support for FM.MouseWheelScriptTrigger function, so you can use it with the toolbar. If needed, you can enable/disable the feature at any time with FM.EnableMouseWheel and FM.DisableMouseWheel functions.

The Mac version of that function is a bit more clever than on Windows as we only capture the scroll wheel events while the mouse is over the right window area. Even works, if the window is background and you scroll with mouse over the window.

Coming soon for next plugin version. If you like to try today, you can email us.

FileMaker Stammtische diese Woche

Wer nach anderen FileMaker Entwickler sucht, kann sich FileMaker auf der Events Webseite oder auf der FileMaker Magazin Webseite nach Stammtischen suchen.

Diese Woche finden drei FileMaker Stammtische statt:

Am 13. Februar 2019 gegen 19 Uhr in den Räumen der "Studiowerk - Musikmanufaktur" in Braunschweig.
Am 14. Februar 2019 gegen 19 Uhr im Ristorante Pizzeria Capri in Neu-Ulm.
Am 14. Februar 2019 gegen 19 Uhr im Restaurant Beaulieu in Bern.

Herzliche Einladung mal vorbei zu schauen, falls ihr in der Nähe seit.

Am Besten für den jeweiligen Stammtisch beim Organisator anmelden, damit die Bescheid wissen, wer kommt. Und die Organisatoren schicken gerne regelmäßig Emails rund um an den nächsten Termin zu erinnern, die Themen bzw. Termin- oder Ortswechsel bekannt zu geben.

Move from REALSQLdatabase to SQLiteDatabase

While current SQLiteDatabase in Xojo 2018r4 uses SQLite 3.25.3, the old REALSQLdatabase is still version, about 6 years older. If you still have code with REALSQLdatabase, please move it to SQLiteDatabase. Or you move to SQLDatabaseMBS, which offers SQLite 3.27.1 currently with the recently added VACUUM INTO command.

Normally you just change the class names from REALSQLdatabase to SQLiteDatabase and RealSQLPreparedStatement to SQLitePreparedStatement. The older class sometimes added ROWID to the select statements to make edit/update/delete methods workable.

A few things SQLiteDatabase got over the six years:
  • SQLite got a backup API, so you can backup to a new SQLiteDatabase.
  • SQLite 3.25.0 got window functions
  • SQLite 3.24.0 got support for PostgreSQL-style UPSERT.
  • SQLite 3.18.0 got PRAGMA optimize command.
  • SQLite 3.15.0 got support for row values.
  • SQLite 3.9.0 got FTS 5 extension
  • Endless bug fixes including some that could corrupt the database.
  • Great performance improvements between
Finally a general tip. Please call SQLExecute "PRAGMA cache_size = 20000" early in app start to set a big enough cache size. If the tables or their indexes don't fit in memory, performance suffers.

MBS Xojo Plugins, version 19.1pr2

New in this prerelease of the 19.1 plugins:
  • Changed CarbonEventsIdleTimerMBS.available to be shared property.
  • Added CGImageSourceMBS.CreateThumbnailMT to create thumbnails threaded.
  • Added GMConvertMBS and GM16ConvertMBS classes.
  • Added HIDAPIDeviceMBS.WriteAsync method.
  • Added SQLErrorExceptionMBS.SQL property.
  • Added TiffPictureMBS.ScanlinesScaled function to scale down vertically on reading scanlines.
  • Added work around to NSColorSpaceMBS.File property to make it work better.
  • Changed UNNotification functions to return error on server.
  • Changed WebDownloadDelegateMBS and NSURLDownloadMBS classes to be thread safe.
  • Changes TiffPictureMBS.Scanlines and ScanlinesScaled to yield.
  • Fixed a problem with TiffPictureNBS.Scanlines crashing with too small buffer for some images.
  • Fixed crash with connecting to SQL Anywhere when creating connection failed. Now reports an error instead.
  • Fixed problem with UNNotification functions blocking plugin to initialize on Server. (from pr1)
  • Fixed TiffPictureNBS.Scanlines to correct parameters if RowsPerStrip > 1.
  • Removed OverlayMBS.WindowGroupHandle property.
  • Removed WindowGroupMBS class (Mac 32-bit Carbon only).
  • Updated DynaPDF to version
  • Updated SQLAPI to 4.2.5b4.
  • Updated SQLIte to version 3.27.1.
Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

MBS FileMaker Plugin, version 9.1pr2

New in this prerelease of version 9.1 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

CGImageSourceMBS CreateThumbnailMT method for Xojo

Today a client had questions on how to get a lot of thumbnails calculated quickly in Xojo. We do have CGImageSourceMBS class to read various image files and use Apple's image decoders with hardware acceleration, but doing one after the other in Xojo for thousands of image files would still take a long time.

To speed things up, we made a few plugin functions to use preemptive threads to create the thumbnails. You run several Xojo threads and in each process image files and call one of the following methods:

CreateThumbnailMT(file as FolderItem, ImageIndex as integer = 0, Options as dictionary = nil) as CGImageMBS
CreateThumbnailMT(data as String, ImageIndex as integer = 0, Options as dictionary = nil) as CGImageMBS
CreateThumbnailMT(data as MemoryBlock, ImageIndex as integer = 0, Options as dictionary = nil) as CGImageMBS

The main work is done on a preemptive thread, so you can get a lot of CPU cores busy if needed. The returned CGImageMBS objects can be converted to Xojo pictures (Picture method), or you get png or jpeg image data with PNGData or JPEGData methods.

You can pass various options via dictionary to select the thumbnail size or decide whether you like to use thumbnails embedded in images.

Coming soon for next 19.1 prerelease. If you like to try earlier, please email us.

PS: We also add GMConvertMBS class to do the similar things cross platform. You can use it to scale down images for thumbnails with preemptive threads.

FileMaker Developer Conference 2019

The website for the FileMaker DevCon 2019 is now online: FileMaker DevCon 2019

Please join us 5th to 8th August 2019 in Orlando, Florida, USA.
Monkeybread Software has a booth as usual and we'll be there for a whole week.

You can book the conference for 2 days ($999 USD) or 3 days ($1299), but I would suggest to add training day for ($399) and make it a 4 day conference. And if you come from far away, please make sure you have a day before/after to enjoy some extra activity with other attendees, like a visit to a Disney Park.

Hotel room is $189 including resort fee, but plus tax.

MBS FileMaker Plugin, version 9.1pr1

New in this prerelease of version 9.1 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

MBS Xojo Plugins, version 19.1pr1

New in this prerelease of the 19.1 plugins: Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Workshop zum MBS FileMaker Plugin @ Denkform

For our German speaking clients we have a workshop day:

In Zusammenarbeit mit der DenkForm GmbH bieten wir eine Schulung zum MBS Plugin an. Am 7. März 2019 können Sie in Wiesbaden an einer eintägigen Schulung teilnehmen. Lernen Sie die über 5700 Funktionen einmal näher kennen und wie Sie sie effektiv einsetzen. Sammeln Sie Ideen und verbessern Sie ihre FileMaker Lösungen durch den Einsatz unseres Plugins.

Das Monkeybread Software Plugin für FileMaker stellt eine vielseitige Erweiterung der eigenen Datenbank dar. Der Kurs bietet nicht nur einen tiefgreifenden Überblick in die Benutzung und Entwicklung, sondern bietet auch die Chance das Plugin günstiger zu erstehen.
  • Einführung in das MBS Plugin
  • Überblick über die Funktionsbereiche
  • Neues im MBS Plugin dieses Jahr
  • Rundgang durch ausgewählte Beispiele
  • Gemeinsames Implementieren von Plugin Funktionen in eine Datenbank:
    • Upload/Download mit CURL auf einen HTTP/FTP Server
    • Ausfüllen eines Formulares auf einer Webseite
    • Bilder bearbeiten
    • PDF Verarbeitung
    • Druckerfunktionen
    • Adressbuch und Kontakte abfragen bei Mac OS X.
  • Fragen und Antworten
Die Teilnahme kostet 119 Euro inkl. MWSt. und Verpflegung.
Details und Anmeldung bei der Denkform.

Im Anschluss geht es noch zur Pizzeria zum FileMaker Stammtisch Rhein-Main.
An jedem ersten Donnerstag im Monat findet ab 19 Uhr der FileMaker Stammtisch Rhein-Main statt, zu dem jeder herzlichst eingeladen ist.

More SceneKit for Xojo

For next MBS Xojo Plugins, we'll get a few new SceneKit classes for 3D graphics. Here a few screenshots from new examples:


FileMaker Conference dotfmp.berlin 2019

Did you sign up for FileMaker Conference dotfmp.berlin 2019?

Only 20 tickets are left for sale and this may sell out soon.

This conference is organized by Egbert Friedrich and takes place from 6th to 8th June 2019 in Berlin, Germany.

As the conference is in english, this is your chance to meet people from around the world at a conference in Europe. And for a lot of people it's easier to get to Berlin than to cross the atlantic and deal with US immigration officers.

dotfmp is an effort of various leading European FileMaker Developers. It is meant to bring all kinds of higher level developers together to share knowledge, educate and challenge each other.
dotfmp starts at the 5th June 2019 in the later afternoon with a relaxed "Beer and Sausages" in one of the most famous Berlin Beergarden. The session days itself last from 6th until 8th June with various socializing events in the evenings. Additionally we offer support on 10th June to see more from Berlin and its surroundings.
dotfmp is a 3 Day-Unconference, Meetup, Hangout or Barcamp. It is an informal and self-organized effort to meet on a personal base.
dotfmp takes place in one of the most famous spots in Berlin. The GLS Campus is located in a vibrant area with a very short walking distance to all the famous restaurants.
We feel there are far too few possibilities to talk to, learn from, and hangout with fellow developers in a relaxed and informal environment. And we'd like to share work and get feedback from people chewing on similar challenges.

If you like to join the conference and present something, please register soon.

Linux Icon Functions for Xojo

For next plugin prerelease, we add new LinuxIconMBS module to provide a few new functions to query icons.

The Icon function queries the picture for the icon based on a mime type, while SymbolicIcon queries the symbolic icon. The FileIcon function takes a folderitem and queries a picture for the icon. For some files, you can query a thumbnail with FileThumbnail function. You get back a path to the temporary file with the icon, in our case a png file.

Functions coming soon for MBS Xojo Linux Plugin 19.1.

Older Xojo versions

Not every project needs the newest and latest version of Xojo. Be sure to keep older versions installed in parallel for your computer.

Here is a list of our special versions kept for various tasks:

Use Xojo 2018 Release 4 for current projects in development.
Use Xojo 2018 Release 2 to build for MacOS 10.9.
Use Xojo 2017 Release 2 if you need a 32-bit IDE on Mac.
Use Xojo 2017 Release 1 to build for MacOS 10.7 or with Linux with GTK2.
Use Xojo 2016 Release 3 to use Windows GDI Graphics
Use Xojo 2016 Release 1 to build for Windows Vista.
Use Xojo 2015 Release 2 to build for Windows XP.
Use Xojo 2013 Release 4 to use QuickTime classes.
Use Xojo 2013 Release 3 to build for MacOS 10.6.
Use Xojo 2011 Release 3 to build for PowerPC Macs.

You can read about removals and deprecations on the Xojo documentation in the Deprecations section. We still have a few clients who want their software to run on older operation systems for various reasons. For example special hardware like PCI cards may not work on the latest Windows version due to missing drivers. So they may want to keep an app with ancient Windows version supported.

To download an older Xojo version, you can log into Xojo website, go to download archives. If you have a current license for Xojo, you can certainly ask them for an older license key if needed.

MBS Xojo Plugins in version 19.0 support all Xojo versions and plugins for older Real Studio are available on request.

Playing with SceneKit

For next MBS Xojo Plugins, we'll get a few new SceneKit classes for 3D graphics. This includes primitives like cylinders, spheres, tubes, cones, torus and boxes. You can create them, show them in 3D space, animate and rotate them as needed.

Today I translated an example from Swift to Xojo quickly to solve towers of Hanoi problem:

The new examples will be included with next MBS Plugin version.

FileMaker Stammtisch in Hamburg am 7. Februar

Am 7. Februar treffen sich interessierte FileMaker Entwickler in Hamburg zum Austausch von Neuigkeiten, Erfahrungen und Tipps & Tricks.

Diesmal zeigt Holger Darjus, warum Wiederholfelder oft unterschätzt werden.

Wo: K&K Verlag, Große Brunnenstraße 43, 22763 Hamburg
Wann: Donnerstag, 7. Februar 2019, ab 19 Uhr

Soweit ich sehe, sind wir dann auch in Hamburg und stehen gerne für Fragen zum MBS Plugin zur Verfügung.

siehe Einladung zum Hamburger FileMaker Stammtisch und Stammtisch Hamburg Webseite

Würde mich freuen Euch dort zu sehen.

Wenn noch Bedarf ist an Beratung/Schulung/Entwicklungshilfe vor Ort, dann bitte melden wegen Terminvereinbarung.

UserNotifications framework for Mac

The UserNotifications framework has been in iOS since version 10. With MacOS 10.14 Apple added this framework for the Mac, so we have the same classes in iOS and MacOS. With MacOS 10.14 Apple also deprecated NSUserNotification API.

To MBS Plugins, we now add UserNotifications API for MacOS in both our FileMaker and Xojo plugins.

For Xojo the new plugin part UNNotification contains all the classes to wrap the framework. As usually, we make this thread safe for Xojo, manage memory automatically and convert data types for you.

For FileMaker we compile the same code as for iOS for MacOS. Our existing UNNotification functions simply work for MacOS, too. There are a few little differences like location based notifications are not supported and there are no launch images for MacOS. If needed we could add new functions for actions beside just bringing FileMaker to front.

If you like, you can try soon those new functions with the next betas.

Older blog entries:

2019-02-01 16 Years Xojo Developer Magazine
2019-01-30 FileMaker SQL with Sum, Min, Max and Avg on results
2019-01-29 Document Picker Functions for MBS FileMaker Plugin
2019-01-28 XDC Schedule Now Available
2019-01-28 FileMaker Stammtisch in Karlsruhe
2019-01-25 JPEG rendering in MacOS Mojave
2019-01-24 Nine month till European MBS Xojo Conference 2019 in Cologne
2019-01-23 Alternating row colors for Dark Mode
2019-01-23 Apple Maps in FileMaker on iOS
2019-01-22 Xojo Design Awards 2019
2019-01-22 New MBS FileMaker Plugin 9.0
2019-01-22 MBS Xojo Plugins in version 19.0
2019-01-22 Neues MBS FileMaker Plugin 9.0
2019-01-21 Xojo Training in Europe
2019-01-21 PauseOnError in Tulum
2019-01-20 Real Studio plugins on demand
2019-01-20 MBS Xojo Plugins, version 19.0pr9
2019-01-20 MBS FileMaker Plugin, version 9.0pr9
2019-01-18 Booked for XDC 2019
2019-01-17 Use Apple Maps in your app


Feb 2019
Dec 2018
Nov 2018
Oct 2018
Sep 2018
Aug 2018
Jul 2018
Jun 2018
May 2018
Apr 2018
Mar 2018
Feb 2018
Jan 2018
Dec 2017
Nov 2017
Oct 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
XML: RSS Feed XML: Atom Feed