Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodCode SnippetDemoFiremonkeyIOSOSXWindows

Delphi XE6 Firemonkey Quick Tips: Resize An Image, Patch for TMemo, Draw a Bazier Curve, Patch For TListView

Delphi XE6 Firemonkey Quick TipsHere are a few quick tips that don’t warrant an individual blog post.

If you are adding lines really quickly to a TMemo you may run into this problem where it will cause an error or crash.

Head over and check out a blog post that shows how to patch FMX.Platform.Android to keep this from happening.

If you need to draw a Bezier curve there is a forum post up that explains you can use the CurveTo function to achieve this.

Head over and read the full forum thread for drawing a bezier curve with Firemonkey.

If you use TListView and you don’t care for the functionality where when you click the blank space under all items it selects the last item in the list then this fix is for you. You make this change in the FMX.ListView unit.

Head over and check out the blog post which features a code change to change this behavior.

There are a few ways to resize an image with Delphi Firemonkey but there is a forum thread over on Embarcadero where two different options are suggested. One option is to use CreateThumbnail and the second is to use DrawBitmap().

Head over and check out the forum thread about creating a thumbnail with Firemonkey.


Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply