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

AndroidAppmethodCode SnippetDelphiDemoFiremonkeyIOSOSXWindows

Basic Calculator App Source Code For Delphi XE6 Firemonkey On Android And IOS

Delphi XE6 Firemonkey Calculator App Demo Source CodeLin Shou Shan (superlevin), a Delphi developer from Taiwan, has a blog post tutorial up where he builds a calculator app demo with Delphi XE6 Firemonkey. It should also work in Delphi XE5 and AppMethod. The blog post is in Chinese but you can use Google Chrome to automatically translate it. The calculator demo supports addition, subtraction, multiplication, and division. It is made up of a TEdit control aligned to the top of the screen and then a bunch of standard TButton controls for the rest of the interface. There isn’t any platform dependent code in this demo so it should work cross platform on Android, IOS, Windows, and OSX. I like how the operator function is built in the demo to store the operator so that when you press the equal sign it performs the math operation. The whole demo is written in only 116 lines of code to implement a basic calculator and that seems really compact to me.. The source code for the demo app is up on Github.

Check out the full blog post tutorial about building a basic calculator app with Delphi XE6 Firemonkey.

Download the full source code for the Delphi XE6 Firemonkey basic calculator app.


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