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

AndroidAppmethodComponentDelphiFiremonkeyIOSOSXWindows

Glassy Image Button Components For Delphi XE5 Firemonkey On Android And IOS

Delphi XE5 Firemonkey Glassy Buttondkstar88 from PockHero.com created three different button components for Delphi Firemonkey derived from TSpeedButton. The TWeb2Button has the option of being able to change the background color of the button and it has a glassy effect. The TWeb2TabButton has the same properties of TWeb2Button but it allows you to set one side to be flat so that it can be used for tabs. The last component is called TWeb2ImageButton and it allows you to set images as the normal button state, a button down image, a button over image, and finally a button active image. The original components were created for Delphi XE4 but I upgraded them to work with Delphi XE5 by adding FMX.Graphics to the uses clause. These buttons should work on Android and IOS (in addition to Windows and OSX).

Read about the components on PockHero and download them for use in your projects.

Download the Delphi XE5 Firemonkey version of the TWeb2Button components.

Update: I added a new line to each of the component definitions so that it will show up in the IDE for each platform:

[ComponentPlatformsAttribute( PidWin32 or PidiOSDevice or PidiOSSimulator OR PidAndroid OR pidWin64 OR pidOSX32)]

close

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

Related posts
AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

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

DelphiIDEShowcaseWindows

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

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

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

Sign up for our Newsletter and
stay informed

2 Comments

Leave a Reply