Troi Dialog Plug-in Changelog

What's new in Troi Dialog Plug-in 6.5.1

Feb 27, 2017
  • Added switch to the Dial_ListDialog function: "-ExtraLineHeight=x", where you can specify extra height (in pixels) for each list item.
  • (Windows) Improved the Dial_ListDialog function: list items should have more vertical height when using hi-resolution displays.
  • Updated the code in several places and added improved namespace handling to make the plug-in more robust.
  • (Mac OS X) Improved export of symbols of the compiled plug-in: now only the symbols that are required are exported.
  • (Mac OS X, 32-bit only) Fixed a possible interference with other plug-ins, during the registration phase.
  • Fixed a bug in the code for registering the plug-in.

New in Troi Dialog Plug-in 6.1 (May 18, 2015)

  • Tested and made compatible with FileMaker Pro 14.
  • Added support for 64-bit architecture with FileMaker Pro 14: On OS X the 32-bit and 64-bit version is a single universal plug-in and on Windows there are 2 plug-ins: Troi_Dialog.fmx (for 32-bit) and Troi_Dialog.fmx64 (for 64-bit).
  • Improved the example file EasyInstallTroiPlugins.fmp12, to support the 64-bit version of FileMaker Pro 14.
  • Improved the Dial_Dialog function: the result can now also be the text of the button: add the switch -ReturnButtonText for this.

New in Troi Dialog Plug-in 6.0.0 (Mar 12, 2015)

  • Improved the Dial_InputDialog function: popups can now display values from a second value list. The selected value from the first value list is returned. You can use this for example with a list of ItemIDs and a list of ItemDescriptions. The descriptions are shown to the user, while the itemID is returned.
  • Updated the Dial_SetPopup function: there is now an optional last parameter secondPopupValues, which sets the second value list. When set for a popup, the plug-in automatically displays the second value list, but returns the corresponding value from the first popup list.
  • Updated the Dial_GetPopup function: when you add the switch "-SecondValueList" the plug-in returns the second value list for that popup.
  • Improved the Dial_ListDialog function: added a switch: -AllowMultipleSelection which allows the user to select multiple items from the list. The selected items are returned separated by the pipe character. You can also preselect multiple items. Command-A (OS X) or control-A (Windows) can be used to select all items.
  • (Mac OS X) Improved the Dial_InputDialog and Dial_BigInputDialog functions: added support for undo and redo in the edit fields through these keyboard shortcuts: undo (command-z) and redo (command-shift-z).
  • (Mac OS X) Improved the Dial_InputDialog function: added support for these keyboard shortcuts: copy (command-C), paste (command-V), cut (command-X) and select all (command-A).
  • (Mac OS X) Improved the Dial_BigInputDialog function: added support for these keyboard shortcuts: copy (command-C), paste (command-V), cut (command-X) and select all (command-A).
  • Made several improvements to the dialog example files.
  • Rewrote the code in several areas and made it more future proof.
  • Added new switch -GetRegistrationState to the Dial_Version function: this switch allows you to check if the plug-in is currently registered.
  • Updated Version example to show the use of -GetRegistrationState.
  • (Mac OS X) Added code signing to the plug-in, also compatible with the new Mavericks version of code signing.
  • IMPORTANT This plug-in drops support for Windows XP (the plug-in will no longer load on XP). On Mac OS X the minimum supported system is now OS X 10.6.8 (the plug-in will not load on 10.5 and earlier).

New in Troi Dialog Plug-in 5.5.8 (Nov 6, 2014)

  • Tested and made compatible with FileMaker Pro 13.
  • (Mac OS X) Updated the plug-in and made compatible for OS X 10.10 Yosemite.
  • (Windows) Updated the plug-in and made compatible for Windows 8.1.
  • (Mac OS X) Fixed a crashing bug in the InputDialog function, when running under OS X 10.10 Yosemite.
  • (Mac OS X) Fixed a crashing bug in the ListDialog function, when running under OS X 10.10 Yosemite.
  • (Windows) Fixed a possible problem which could lead to an "error code 3" dialog.
  • (Windows) Fixed a problem with the Dial_ProgressBar function and the automatic removal of forgotten progress dialogs: in some cases the dialog was not properly removed, leading to a 'zombie' dialog, that would no go away.
  • (Windows) Fixed a bug where an ampersand (&) would not be displayed in the message text of dialogs.
  • Fixed a bug where an error $$-4260 could be shown when installing the plug-in with the EasyInstallTroiPlugins.fmp12 example file. Note that this error may still show up, when an older version of Troi Dialog Plug-in is uninstalled. In this case please install the plug-in manually.
  • Improved the example files BigInputDlog.fmp12 and ListDlog.fmp12
  • Improved the Input.fmp12 example file: the examples use more variables, and error handling has been improved.

New in Troi Dialog Plug-in 5.5.7 (Jan 15, 2013)

  • Made compatible and tested with FileMaker Pro 12.
  • Made compatible and tested with Windows 8.
  • The example files are now available in the new .fmp12 format.
  • Added new example file EasyInstallTroiPlugins.fmp12 (in the FileMaker Pro 12 formatted download only), which contains the plug-ins (a Mac and Windows version) and can install the plug-in from within FileMaker Pro 12.
  • (Mac OS X) Fixed a bug in FileMaker Pro 12 where the standard icons could look grayed out.
  • (Mac OS X) Fixed a problem with the Dial_ProgressBar function: now the progress dialog will reappear if you do a 'incr' command after the dialog was automatically removed by the plug-in (after the defunct timeout had passed). This is now the same behavior as it is on Windows.
  • Added new switch "-GetPluginInstallPath" to the Dial_Version function: This switch will return the path where a plug-in is installed, for example "/Mac HD/Users/User Name/Library/Application Support/FileMaker/Extensions/Troi_Dialog.fmplugin".
  • (Mac OS X) Rewrote the plug-in to defer the automatic loading of Cocoa Classes. Now the classes are in a separate bundle which is not loaded until later in the initialization process. This prevents a crashing bug, which occurred when the Troi Dialog Plug-in was installed in 2 separate places.
  • (Mac OS X) NOTE we will remove the possibility to run on Mac OS X 10.4 or earlier. This plug-in is the last that can run on Mac OS X 10.4 or earlier.

New in Troi Dialog Plug-in 5.5.6 (Dec 27, 2011)

  • (Mac OS X) Fixed a bug with the Dial_Dialog function: now each line of the prompt text will be shown (up to 7 lines).
  • Made small change to the bundle (on Mac OS X) and FileVersion resource (on Windows) so it now reflects the correct version number.

New in Troi Dialog Plug-in 5.5.5 (Nov 16, 2011)

  • Made some small improvements to the Dialog.fp7 example file.

New in Troi Dialog Plug-in 5.5.4 (Oct 11, 2011)

  • Mac OS X) Fixed a bug with the Dial_Dialog function when running FileMaker Pro 11: Dial_GetButton now also returns the last button number clicked.
  • (Mac OS X) Fixed a bug in the Dial_Dialog function when running FileMaker Pro 11, where after typing several characters they would end up in the FileMaker file under the dialog. For FileMaker Pro 11 the title is now visible on Mac OS X too.
  • (Mac OS X) Improved the the Dial_Dialog function, so that the title is now visible. Note that this change only occurs in FileMaker Pro 11. On earlier versions of FileMaker the dialog has not changed.
  • Fixed a bug in the Dial_ProgressBar function, with the handling of blocking alert dialogs that can appear below the ProgressBar Dialog.
  • Improved the Dial_ProgressBar function: you can now press the ESC key to stop the dialog, by adding the switch: "-StopOnESC" to the ProgressBar show command, like this:
  • Dial_ProgressBar( "-StopOnESC" ; "show" ; NrOfSecs ; DialogText )
  • You need to make sure the FileMaker application has time to process the ESC key. You can do this by adding a Pause/Resume step (of 0 secs) just after an incr command.
  • NOTE For FileMaker Pro 9 and 10 on Mac OS X -StopOnESC is activated by default, as a means to get rid of blocking alert dialogs that can appear below the ProgressBar Dialog.
  • Fixed a bug with the Dial_InputDialog function and FileMaker Pro 9 were copy and paste did not work.
  • Added a switch to the Dial_SetPreference function: "-TitlesInProgressBarDialogs". When you set this to "off" the ProgressBar title is set to blank for all subsequent calls of the ProgressBar dialog. Call this once at startup of your solution, so you don't have to change all scripts with the ProgressBar in it. Set to "on" to show the titles again.
  • Updated User Guide and Overview.fp7 to reflect the new functionality.

New in Troi Dialog Plug-in 5.5.3 (Jun 29, 2010)

  • Added a switch to the Dial_IconControl function: -DefaultIconSize=48. This will make it the default to show all icons at 48x48, without the need to set it for each dialog function call.
  • Added new switch to Dial_Version: -UnregisterPlugin. This will remove the registration data. The plug-in will be in a unregistered state after this. See the "Temporary Register Dialog Plug-in" script in the file RegiFunc.fp7 for an example use.
  • (Windows) Improved a problem in the scaling of custom icons: if the width differs from the height the icon will now be scaled proportionally.
  • Fixed a problem where in some cases a spinning beachball cursor would be shown instead of the arrow cursor.
  • Made small tweaks to example files.

New in Troi Dialog Plug-in 5.5.2 (May 10, 2010)

  • New: icons can now be extra large: 48x48 pixels. To enable this supply a 48x48 icon in the Dial_IconControl() function. Also add the switch -IconSize=48 to the dialog function call for which you want the icon to be bigger.
  • Slightly modified the position and size of the dialog prompt in some dialog types, to accommodate for possible bigger icons.
  • (Mac OS X only) Added new switch "-CheckSpellingWhileTyping" to enable continuous spell checking for the Dial_BigInputDialog function.
  • (Mac OS X) Disabled continuous spell checking in the Dial_BigInputDialog function, which was on by default.
  • (Mac OS X) Fixed a bug in Dial_BigInputDialog function where typing the return key would result in a linefeed character in the returned text.
  • (Mac OS X) Fixed a bug in the Dial_InputDialog function where the switch "-KeepBulletText" would not be honoured.
  • (Mac OS X) Fixed a bug in the Dial_InputDialog function and popups: popup items with the same text would not be added to the popup list.
  • (Mac OS X) Fixed a bug in the Dial_InputDialog function: a popup field is now disabled if it has no popup items.
  • (Mac OS X) Converted the Dial_ListDialog function completely to Cocoa, restoring all functionality.
  • (Mac OS X) Fixed a bug in Dial_ListDialog function where empty lines would make the wrong item preselected.
  • (Mac OS X) in Dial_ListDialog: empty lines are now kept as in previous versions.
  • (Mac OS X) Reenabled setting the dialog position: Dial_SetPosition now works again for all dialog types.
  • Updated User Guide and Overview.fp7 to reflect the new functionality.

New in Troi Dialog Plug-in 5.5.1 (Mar 23, 2010)

  • The Dial_InputDialog function now honours the "-StartField1", "-StartField2"... switches which specify the input field where the cursor will be in at the start of the dialog.
  • (Mac OS X) Fixed a bug in Dial_InputDialog function: popup fields now will be initialy unselected if you specify this in Dial_SetPopup() with the "-NoSelection" switch.
  • Fixed a bug in the Dial_InputDialog function, where the -stopOnESC switch would not work in some cases.
  • (Mac OS X) Fixed an inconsistency in Dial_InputDialog function with the previous Dialog Plug-in: popup fields now will be initialy unselected if you specify an empty string with the Dial_SetInput() function.
  • (Mac OS X) Fixed a bug in Dial_FlashDialog function, where typing a space would hang the flash dialog.
  • Fixed a bug in the Dial_BigInputDialog function which could hang the FileMaker 11 application.
  • (Mac OS X) Fixed a bug in Dial_ListDialog function, where specifying the dialog position and using the arrow keys would hang the list dialog. Setting the dialog position is now temporary disabled when running under FileMaker Pro 11.

New in Troi Dialog Plug-in 5.5 (Mar 11, 2010)

  • Made compatible with FileMaker Pro 11.
  • Added compatibility with Windows 7.
  • (Mac OS X) IconControl: Added support for PNG image format, including support for transparency.
  • (Mac OS X) Implemented to Cocoa version of Progress dialog.
  • (Mac OS X) Implemented to Cocoa version of InputDialog dialog.
  • The Dial_InputDialog function now shows parameter "nr. of fields" as "NrOfFields". This single word makes it easier to select by double-clicking.
  • Updated incorrect text in All Dialog Examples.fp7
  • Several smaller bug fixes and further improvements.

New in Troi Dialog Plug-in 5.1 (Jan 14, 2009)

  • Tested with FileMaker Pro 10, and tweaked little issues to make it more compatible with FileMaker Pro 10.
  • Added the plug-in's version number to the description in FileMaker preference pane.
  • Fixed some cosmetic bugs in Dial_PresentImage() function.
  • Also fixed a bug in the Dial_PresentImage function where error text would be displayed in a very small window.
  • Added new Dial_VersionAutoUpdate function. The Dial_VersionAutoUpdate function is part of an emerging standard for FileMaker plug-ins of third party vendors of plug-ins. The version number is returned in the format aabbccdd where every letter represents a digit of the level, so versions can be easily compared.
  • Updated example files and documentation for FileMaker 10.

New in Troi Dialog Plug-in 5.0 (Feb 14, 2008)

  • Improved the Dial_InputDialog function: you can now use up to 15 input items!
  • Added new Dial_PresentImage function, which can show a full screen slide show of images and movies.
  • Added new Dial_GetCurrentTimestamp function, which returns the current date and time, including the fractions of a second! This is similar to the build in Get(CurrentTimestamp) function, but the milliseconds in the part after the comma make it possible to measure time with extra precision. Uses are for example measuring finishing times in a race or time difference smaller than a second.
  • Added compatibility with Windows Vista.
  • Improved compatibility with Leopard.
  • (Mac OS X) Improved the Dial_InputDialog function, it now resizes the prompt and input fields when you make the dialog bigger. Also the buttons are moved correctly now.
  • Added a missing "switches" parameter in the "External functions" list in the Specify Calculation Dialog box: it will now correctly list all parameters of the Dial_ProgressBar function.