Home/Patches

Adding Javascript processing capability to TWebBrowser in iOS

By |2014-10-19T14:32:06+10:30November 6, 2013 10:04 am|Code tips, Patches, Uncategorized|

UPDATE: If you're using Delphi XE7, the TWebBrowser component now includes the method EvaluateJavascript (does the same thing as what my GetJavaScript result does), and applies to both iOS and Android. In a post on the Embarcadero forums some time ago, Charles Vinal asked about whether it would be possible to have TWebBrowser implement the stringByEvaluatingJavaScriptFromString [...]

Plugging a couple of leaks in Firemonkey in Delphi XE5

By |2017-02-16T18:02:36+10:30November 4, 2013 1:33 pm|Patches, Uncategorized|

NOTE: If you have read this post before, it has been updated recently to include further changes that remove all leaks generated by the demo project. Recently there was a posting in the Embarcadero forums about problems with creating a secondary form, showing it modally, then destroying it; namely that the app exits without warning [...]

Coping with the Virtual Keyboard Done bar and clicking controls on the iOS7 simulator

By |2014-10-14T19:14:58+10:30October 29, 2013 3:23 pm|Patches, Uncategorized|

If you've installed update 1 for XE5, you'll soon find that there's a couple of issues that have moved from the device to the simulator; namely the placement of the Virtual Keyboard "Done" bar, and clicking of controls is vertically askew. These two posts relate to the issues: http://delphi.radsoft.com.au/2013/10/coping-with-done-bar-on-ios7-devices/ http://delphi.radsoft.com.au/2013/10/coping-with-clicking-controls-on-ios7-devices/ First the patch for clicking [...]

Coping with clicking controls on iOS7 devices

By |2014-10-19T16:54:48+10:30October 23, 2013 6:54 am|Patches, Uncategorized|

UPDATE: If you've applied Update 1 for XE5, please revert any changes made based on this article, or ignore it if you have not made any changes. The issue has been resolved in Update 1 for the DEVICE;  Update 1 causes an issue with  clicking controls in the simulator. Please refer to this article if [...]

Making the Firemonkey TComboBox picker in iOS7 opaque

By |2017-02-16T18:02:36+10:30October 16, 2013 9:18 am|Patches, Uncategorized|

I really don't know what possessed the people at Apple to make the UIPickerView transparent by default; it can make it very difficult to distinguish the items in the list from what is underneath. In the FireMonkey TComboBox in Delphi XE5, the picker is implemented using the native UIPickerView. The way the picker is implemented, [...]

Fixing TIdFTP for iOS devices

By |2017-02-16T18:02:36+10:30October 11, 2013 9:00 am|Patches, Uncategorized|

A colleague of mine, Chris, has been developing an application for iOS that manages players for a casual competition called HoopStars. Part of the functionality of the app is downloading images that are "avatars" for players, using FTP. I had been helping out Chris with other aspects of the development of the app, however this [...]

Go to Top