Our Blog   Our Claris FileMaker Blog   Our Xojo Blog   Archive     Follow us on Mastodon, Twitter, Xing, LinkedIn or Facebook.

MBS Xojo Plugins, version 24.1pr5

New in this prerelease of the 24.1 plugins:
  • Fixed an edge case with Replace in JSONMBS where it didn't catch all spots.
  • Fixed problem with Substitute with too small output buffer.
  • Improved CURLEmailMBS class to allow the creation of attachment only emails.
  • Enabled logging for LibUSB on Linux.
  • Updated DynaPDF to version 4.0.84.246.
  • Added SelText property for DynaPDFParserMBS class to query found text.
  • Added SelBBox2 method for DynaPDFParserMBS class to query all 4 points of current text box.
  • Changed StringValue in NSCharacterSetMBS class to property, so we see it in the debugger.
  • Added CharacterCount property for NSCharacterSetMBS class for debugging.
  • Improved NSTokenFieldControlMBS by to work better with our custom cell class.
  • Added SetPrintBacktraceAndAbortHandler method to SignalHandlerMBS class.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/ or from DropBox.
Or ask us to be added to our shared DropBox folder.

You can subscribe to our Xojo mailing list to get notified for new pre-release and release versions.


MBS Xojo Conference Update

About two months left until we start our MBS Xojo Developer Conference in Andernach, Germany.

With a recent registration from Belgium, we got over 40 people from 13 countries:

🇩🇪, 🇳🇱, 🇬🇧, 🇺🇸, 🇫🇷, 🇨🇭, 🇪🇸, 🇨🇦, 🇵🇱, 🇦🇹, 🇩🇰, 🇸🇪 & 🇧🇪

Friday dinner

For the friday dinner, we will go to the Taverne Olympus, a greek restaurant in Andernach. Family Thomopoulos runs this place successfully since 1981 and looks forward to serve us greek specialties.

We meet 17:40 o'clock outside the hotel and walk over to the restaurant. We may need 15 minutes for about 950m. Basically to the Rhein gate, op the alley and then left the Hochstraße and then walk through the Koblenz gate and follow the Koblenz street to the restaurant on the left side.

If you can't join us for the restaurant, please let us know, so we don't waste a spot. From the restaurant, you can leave at any time to get your train. The station is 1.1km away through Am Stadtgraben and Bahnhof street.

We may be limited to 40 people there. But we assume a few of you leave friday after the last session.

(more)

MBS Xojo Plugins, version 24.1pr4

New in this prerelease of the 24.1 plugins: Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/ or from DropBox.
Or ask us to be added to our shared DropBox folder.

You can subscribe to our Xojo mailing list to get notified for new pre-release and release versions.


Decouple two features for smaller application sizes

Let's say you make a library, a plugin or just your own set of classes. You use them in various applications, so you add them to your projects. But you don't use all parts always. If you can segment them and maybe help the Xojo compiler, it can strip out unused project items and produce smaller applications.

Use cases may be one project, which can be compiled to both the full version and a demo version. Or a Pro and a Lite version. Or a viewer vs. editor version of the application. Or simply you have a ton of utility classes, but don't need them for the current app. Then you would like to not include all the parts.

We use various of this techniques with MBS Plugin to reduce the size of your built applications. We actively avoid dependencies between plugins as much as possible.

Project Items

The Xojo compiler can strip out whole items in the project. A window that is never referenced in the current version, will be stripped. You can wrap the only reference for one part in a #if section and avoid referencing it in the smaller app version:

#if ProVersion
   Dim e as new EditorWindow
   e.show
#else
   MessageBox "Please buy Pro version."
#endif

You may define boolean constants in a module to do this. Toggle them either manually, via IDE scripting or build steps with scripts. This also helps with target constants to only include some items that are only for one platform:

#if targetWindows then
   WindowsModule.DoSomething
#elseif targetMacOS
   MacModule.DoSomething
#endif

The other module can be stripped. Same for images, classes, controls, windows and other project items.

(more)

MBS Xojo Conference Update

About two months left until we start our MBS Xojo Developer Conference in Andernach, Germany.

More attendees

We got a few more registrations so we can add Denmark, Sweden and Austria to the country list:

🇩🇪, 🇳🇱, 🇬🇧, 🇺🇸, 🇫🇷, 🇨🇭, 🇪🇸, 🇨🇦, 🇵🇱, 🇦🇹, 🇩🇰 & 🇸🇪

New Session

Jeremy will come and talk about handling exceptions. Of course you can ask him questions about mobile development as he has a very successful iOS app business using Xojo.

Managing exceptions like a pro
Detecting bugs and fixing them is very important as a developer.
Managing exceptions can take a lot of time to implement. This session will present Sentry.io using an open-source set of classes written in Xojo.
by Jérémie Leroy
(more)

iODBC update needed

Recently a few clients run into a problem with using ODBC databases:

IM004 [iODBC][Driver Manager]Driver's SQLAllocEnv() failed

The ODBC manager (called iODBC) can't load the ODBC driver for the database you like to connect to. By default on macOS we load "/usr/lib/libiodbc.2.dylib" as the ODBC manager, but this library seems to be outdated. (more)


MBS Xojo Plugins, version 24.1pr3

New in this prerelease of the 24.1 plugins:
  • Updated DynaPDF to version 4.0.83.243.
  • Implemented better MovableByWindowBackground for OverlayMBS class on Windows to work with mouse events.
  • Fixed a bug in DateDifferenceMBS class related to an overflow in January.
  • Enabled allTouches in NSEventMBS class for macOS.
  • Added touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent and touchesMovedWithEvent events to CanvasGesturesMBS class.
  • Fixed an issue in MBS Xojo SQL Plugin where an error message would be cut on the first character improperly encoded.
  • Improved MBS Xojo SQL Plugin to better return error messages if the ODBC driver provided them with ASCII instead of UTF16/32 encoding.
  • Added willShowContextualMenu and didCloseContextualMenu events to 34 controls.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/ or from DropBox.
Or ask us to be added to our shared DropBox folder.

You can subscribe to our Xojo mailing list to get notified for new pre-release and release versions.


MBS Xojo Plugins, version 24.1pr2

New in this prerelease of the 24.1 plugins:
  • Updated our headers for NetSNMP library.
  • Added AVSpeechSynthesizerMBS and related classes.
  • Changed SetLicenseKey in DynaPDFMBS class to raise exception if you call it in debug mode after calling SetLicenseKeyGlobal to suggest you to remove the SetLicenseKey call.
  • Updated DynaPDF to version 4.0.83.242.
  • Changed Bounds, GPTS and LPTS in DynaPDFMeasureMBS to be double.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/ or from DropBox.
Or ask us to be added to our shared DropBox folder.

You can subscribe to our Xojo mailing list to get notified for new pre-release and release versions.


Did you know that you can load extensions in SQLite?

For a few years now it is possible to load an extension both in MBS Xojo SQL Plugin using SQLite as well as into Xojo's built-in SQLiteDatabase. But now we have something new for you here:

You can register custom functions to use in the SQLite database and define them in Xojo.

(more)

MBS Xojo Plugins, version 24.1pr1

New in this prerelease of the 24.1 plugins:
  • Added MovableByWindowBackground property for OverlayMBS class.
  • Added requestWriteOnlyAccessToEvents, requestFullAccessToReminders and requestFullAccessToEvents to EKEventStoreMBS class.
  • Updated dyncall library to version 1.4.
  • Added new kCallMode* constants for DeclareFunctionMBS class.
  • Changed MidiThruConnectionMBS class to be a subclass of MidiObjectMBS class.
  • Added Find method to MidiThruConnectionMBS class.
  • Changed kOptionLibrarySeparator in SQLConnectionMBS class to be a shared method to return ";" on Windows and ":" on macOS/Linux.
  • Improved Data Detector example to include a contextual menu routine for showing actions based on NSDataDetectorMBS class.
  • Fixed a problem with MacBase and CURL plugin loading on older macOS versions.
  • Implemented IgnoreMouseClicks for Windows in OverlayMBS class. Allows mouse clicks to fall through to window behind.
  • Fixed PortAudioStreamRecorderMBS to enforce sample format paFloat32 when using OpenStream() to prevent errors later.
  • Added SQLiteFunctionMBS class to add custom SQLite functions for SQLite database connections.
  • Added Path property to InternalSQLiteLibraryMBS module.
  • Added NWPathMonitorMBS class for macOS/iOS to monitor available network.
  • Added NSProcessInfoPowerStateDidChangeNotification for NSProcessInfoMBS class.
  • Added NWPathMBS, NWEndPointMBS and NWInterfaceMBS classes.
  • Updated SQLite to version 3.45.1.
  • Added new variant of FromDiff method in JSONMBS class with KeyToCopy parameter to copy primary keys.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/ or from DropBox.
Or ask us to be added to our shared DropBox folder.

You can subscribe to our Xojo mailing list to get notified for new pre-release and release versions.


Andernach City Outlook

Our Xojo conference in Andernach comes closer week by week and we are very excited to host you all in our homeland.

On the last weekend I walked to the Krahnenberg outlook over Andernach. That is a hike you could do if you have an hour or two of spare time in Andernach. The shortest and steepest way is 1.3 km from the Einstein Hotel, but a longer 2.4 km way over road is available or a 2.0 km way along the Rhine and up through the forest.

(more)

FileMaker Konferenz 2024 in Malbun - Anmeldung startet

Vom 1. bis 4. Oktober 2024 findet die nächste deutschsprachige FileMaker Konferenz in Malbun, Liechtenstein statt. Die Tickets für die Konferenz sind jetzt verfügbar, bis 20. April noch zum Frühbucherpreis.

Monkeybread Software ist als Sponsor mit Stand und Session vor Ort. Bitte kommen Sie mit Ihren Fragen vorbei!
Stefanie wird zwei Interessante Sessions übernehmen und wir planen noch für den 1. Oktober einen Wandertag ein. Wer mit möchte, kann dann bei hoffentlich schönem Wetter mit uns durch die Berge wandern. z.B. von Malbun aus am Sass-Seeli vorbei zur Alpe Guschg.

siehe FileMaker Konferenz.com



Die Veranstalter vom Verein FM Konferenz erwarten auch 2024 rund 120 Entwickler, Anwender, IT-Fachleute und Entscheidungsträger aus Wirtschaft, Bildung und Verwaltung. Rund um über 20 Fachvorträge und Workshops wird es viel Zeit zum Vernetzen in den gemeinsamen Pausen und beim Abendprogramm geben.

Für den Deutschsprachigen Raum ist diese Konferenz das Treffen des Jahres. Hier finden Sie vom Anfänger bis zum Profi Kontakte zu anderen Entwicklern. Lernen Sie was es neues gibt, nehmen Sie Impulse mit für die eigene Arbeit und erfahren Sie mehr zu FileMaker von deutschsprachigen Experten!

Bitte planen Sie wenigstens einen extra Tag ein für ihren Besuch in Liechtenstein, damit Sie die Natur in dem schönen Tal geniessen können. Den Aufstieg auf den Sareis können Sie bequem zu Fuß vom Hotel aus starten und die Turnastraße hinauf spazieren bis zum Restaurant am Gipfel. Oder alternativ die Seilbahn nehmen.

Auto crop a signature picture

Recently we got a client with a special problem. A scanned paper with a signature has a lot of unused space around. The scan shows a bit of dust and dirt. People have greasy fingers, the flatbed scanner is not clean and the paper not perfect white. We have to clean it up and got a problem: The normal trim method in GMImageMBS class would remove some of the space, but a dust piece on the scan may prevent it from removing a bigger part.

We found a relative easy fix. We scale down the image to a much smaller size and all the dust points disappear. Now we can check for bounding box of the content and apply the found rectangle to the original picture.

(more)

Charts with more than one x or y axis

When you use our chart classes in the MBS Xojo ChartDirector Plugin, you have the chance to have more than one X axis and/or more than one Y axis. When doing this, there are a few things to think about and some little things

The second axes for X and Y are basically always there, but only shown when you start configuring them. For example you may start with setting a title for the second axis:

// Add a title to the secondary (right) y axis call c.yAxis2.setTitle("Throughtput (MBytes)")

Now you may also want to set some colors:

// Set the axis, label and title colors for the primary y axis to red (&hc00000) // to match the first data set c.yAxis.setColors(&hc00000, &hc00000, &hc00000)
(more)

Add Hover effect to your web controls

Recently a client asked how to give an image shown in a Xojo web app a hover effect. Basically a few WebImageView controls show various pictures and you need to pick one. When the mouse moves over the images, we like to highlight the image by making it darker or brighter.

We quickly thought how to do it:

  • in Xojo directly, there is no property and no MouseEnter/MouseExit events. But the server round trip would make this quite slow anyway.
  • in JavaScript would be faster and run in the browser. Like install mouse event handler and then swap out the image for a darker version.
  • in CSS is the best as the browser does it and we benefit from any graphics acceleration. And CSS doesn't need to swap the image and just darken it with an effect.
(more)

Early bird offer ends for MBS Xojo Developer Conference

Just three months until the Xojo conference starts.

Early bird offer is about to end this week. If anyone likes to get a ticket, please be quick or pay the regular price later in the next months.

We got a nice group of attendees so far:

  • We are happy to have three Xojo staff members there.
  • Some long term Xojo community members are joining.
  • Some students and teachers using Xojo in school are coming.
  • We got newbies, who started Xojo less than a year ago.
  • And we got retired people who code in Xojo.
  • Finally we have a few professional people using Xojo as their development tool of choice.
  • People from nine countries so far including a lot of Europe, Canada and USA.
  • We have about 10 wives joining their husbands on the conference for the evenings. My wife may offer a city walk in Andernach one day while the conference runs. There is a lot of history, nature and culture to see.

More spots for conference and training days are available as well as hotel rooms in the Einstein Hotel. Register here and let us know if you need a hotel room.

Picture from presentation at Berlin conference 2017.

We are very happy about the feedback we got. A lot of people seem to be excited for another conference.


News from the MBS Xojo Plugins Version 24.0

In this article I want to introduce you the new functionalities from the MBS Xojo Plugins in version 24.0.

Randomness Decides

We have three new global methods that deal with randomness. We provide you with three algorithms with which you can generate random numbers. You can choose from the normal distribution, exponential distribution and poisson distribution. You can also specify the mean or lambda in each method to further influence the method. RandomNormalDistributionMBS then returns random numbers according to the Normal (or Gaussian) random number distribution. RandomExponentialDistributionMBS a random non-negative floating-point number, distributed according to probability density algorithm and RandomPoissonDistributionMBS gives you a non-negative integer value, distributed according to discrete probability algorithm

(more)

Data Detectors as context menu

Does your Xojo made application run on macOS (or iOS) and shows some text? How about adding an action button, a contextual menu or a popup-menu to offer various actions for the text?

Using the NSDataDetectorMBS class from our MBS Xojo MacCocoa Plugin, you can analyze text using Apple's frameworks. You get an array of NSTextCheckingResultMBS objects for the found details, which can include:

  • URLs
  • Email addresses
  • Phone numbers
  • Addresses
  • Transit Information
  • Dates

We can process the found information and offer action commands. This may include copying the found text. When we have an URL or can build one, we can offer to open this URL. Normally this opens a website in the default browsers. Email addresses can open a new email in the mail application. With all this actions, we can show a menu like this:

In our example we use a timer to check the text a few milliseconds of the text changing. Once checked, we could decide whether to enable the button for the actions. You may provide it as a gear button like other applications to offer these additional actions.

The example project will be included with future plugins or you can email us for a copy as usual. If you'd like to do something similar for Windows or Linux, please check our RegEx plugin and use a few regular expressions to find phone numbers, emails or URLs yourself.


MBS Xojo Developer Conference Update

About three months left until we start our MBS Xojo Developer Conference in Andernach, Germany. Let's update you what's new this week:

Early bird offer

Don't miss the deadline for the early bird offer next week. If you planned to join the conference, three months before is a great time to plan your trip.

Hotel rooms are still available and can be cancelled up to one week before the

Dinner Event

We will go to Baggerado for the dinner event. We'll have a grill buffet, an open bar and plenty of space to sit.

(more)

MonkeyBread Software Releases the MBS Xojo Plugins in version 24.0

Nickenich, Germany - (January 16th, 2024) -- Monkeybread Software today is pleased to announce MBS Xojo Plugins 24.0 for macOS, Linux and Windows, the latest update to their product that is easily the most powerful plugin collection currently available for Xojo. MBS Xojo Plugins have been updated and now includes over 3000 classes and 81,000 documented features, and the versatile plugins have gained more new functions:

We updated our plugins for Xojo 2023r4. We updated the delegates in CURL, iOS, Mac64bit, MacBase, MacCF, MacFrameworks, Picture plugins and improved the RowSet handling in our MBS Xojo SQL Plugin to be compatible. Then we improved our Chromium based classes for the new Xojo version since it uses a newer CEF version. We highly recommend updating the plugins if you like to try this Xojo version or future ones.

For this release we rearranged internal plugin parts. While we ship 52 plugins currently, they are internally composed of about 400 parts. That is less than the older plugins with over 500 parts. Our plugins load quicker in Xojo due to the reduced number of plugin parts to load.

If you use Google Ads in your iOS applications, please update to the new plugin with Google AdMob SDK in version 10.14 and enjoy the additional classes to show the content dialog. The new consent dialog is required for Google Play store. You can simulate the use of your application in a different region where more or less consent is needed.

Our new JSON plugin gets new functions for creating diffs with the changes between two JSON documents. Then we can apply the patch later. The functions allow you to log changes between JSONs to document changes.

For macOS we added new controls NSSegmentedControlControlMBS and NSPathControlControlMBS, so you can easier use a plugin provided SegmentedControl and PathControl controls.

The DynaPDF plugin got a new DynaPDFParserMBS class to make the parser available for Xojo developers. It allows you to find and replace text on a page, highlight or mark texts and delete texts.

For Windows we got new functions to WindowsPDFPageMBS for synchronous and asynchronous rendering of pages to images. For Bluetooth LE, we improved the WindowsDeviceInformationPairingMBS class to work better on Windows 10.

The BigNumberMBS and LargeNumberMBS classes got new functions to convert to/from strings. You can configure the behavior for BigNumberMBS class with the new BigNumberConversionMBS class. If you need random numbers in various distributions in Xojo, you can use RandomExponentialDistributionMBS, RandomNormalDistributionMBS and RandomPoissonDistributionMBS functions.

We improved scrolling for NSSearchFieldControlMBS class, the NSMutableAttributedStringMBS class got a new replaceCharacters function, we made more properties in CURLEmailMBS class visible to the debugger and the new CopyArrayMBS function helps to quickly copy arrays.

Finally we updated CURL to version 8.5.0, DynaPDF to 4.0.82.239, openssl to 3.1.4, SQLAPI to 5.3, SQLite to 3.44.1, LCMS to 2.16, Xcode to 15.2 and Visual Studio to version 2022.

See release notes for a complete list of changes.


Older blog entries:

2024-01-15 DynaPDF Parser for Xojo
2024-01-12 MBS Xojo Plugins, version 24.0pr8
2024-01-12 MBS Xojo Developer Conference Update
2024-01-10 NSSegmentedControl and NSPathControl
2024-01-08 MBS Xojo Plugins, version 24.0pr7
2024-01-07 Custom styles in Scintilla Control
2024-01-04 MBS Xojo Developer Conference Update
2024-01-02 xDev Magazine 22.1 Issue
2024-01-02 MBS Xojo Plugins, version 24.0pr6
2023-12-31 Google Admob Update
2023-12-28 MBS Xojo Plugins, version 23.6pr5
2023-12-27 Four months until MBS Xojo Developer Conference
2023-12-26 iCloud Sync Tips
2023-12-24 Merry Christmas
2023-12-21 MBS Xojo Plugins, version 23.6pr4
2023-12-18 Xojo Web signal handling
2023-12-15 Upcoming changes for 2024 in MBS Plugins
2023-12-14 Benchmarking improvements in Xojo 2023r4
2023-12-13 MBS Xojo Plugins, version 23.6pr3
2023-12-13 Xojo Delegate Change

Archives

Mar 2024
Feb 2024
Jan 2024
Dec 2023
Nov 2023
Oct 2023
Sep 2023
Aug 2023
Jul 2023
Jun 2023
May 2023
Apr 2023
Mar 2023
Feb 2023
Jan 2023
Dec 2022
Nov 2022
Oct 2022
Sep 2022
Aug 2022
Jul 2022
Jun 2022
May 2022
Apr 2022
Mar 2022
Feb 2022
Jan 2022
Dec 2021
Nov 2021
Oct 2021
Sep 2021
Aug 2021
Jul 2021
Jun 2021
May 2021
Apr 2021
Mar 2021
Feb 2021
Jan 2021
Dec 2020
Nov 2020
Oct 2020
Sep 2020
Aug 2020
Jul 2020
Jun 2020
May 2020
Apr 2020
Mar 2020
Feb 2020
Jan 2020
Dec 2019
Nov 2019
Oct 2019
Sep 2019
Aug 2019
Jul 2019
Jun 2019
May 2019
Apr 2019
Mar 2019
Feb 2019
Jan 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