Build A Custom Button Using TRectangle In Delphi XE6 Firemonkey On Android And IOS

Delphi XE6 Firemonkey Rectangle ButtonDeveloper Antonio Estevez has some sample source code for implementing a TRectangle component as a button in Delphi XE6 Firemonkey (and AppMethod). This technique should run cross platform on Windows, IOS, OSX, and Android. The code uses Mouse Enter, Mouse Leave, Mouse Down, and Mouse up events to change the color of the TRectangle and give it the look of being pressed. TRectangle is a really fast Firemonkey component and you can even apply a bitmap to it using it’s Fill.Bitmap property. Check out the code snippet below:

Head over and check out the full thread on the Embarcadero forum where the code snippet is posted.

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

Build A Custom Button Using TRectangle In Delphi XE6 Firemonkey On Android And IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

One Response to Build A Custom Button Using TRectangle In Delphi XE6 Firemonkey On Android And IOS

  1. Pingback: Free Flat Rectangle Icon Button Component For Delphi XE6 Firemonkey On Android And IOS | Delphi XE5 XE6 Firemonkey, Delphi Android, Delphi IOS

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE6 Firemonkey Free Training Coarse
Massive Six Hour Free Training Coarse For Delphi XE6 Firemonkey On Android And IOS

David Intersimone and Jim McKeeth from Embarcadero have a massive six hour free training coarse for Delphi XE6 Firemonkey available....

Close