The Stateful Control Demo is a cross-platform application that allows you to change the state of interaction through the text displayed on a button. Each time the button is clicked, the text of the button changes. The text of a button is stored in an in-memory table, and the selected record changes. This demo is built in Delphi using a single code base and single UI for Android, iOS, macOS, Windows, and Linux.

Download the full cross-platform Hello World source code on Github.

This demo is part of over 100 cross-platform demos with everything from camera demos to emoji demos and painting demos.

What is stateful cross-platform development?

Cross-platform development is the process of developing software applications that can be run on multiple computing platforms. A key advantage of cross-platform development is that it allows developers to write a single code base that can be used on multiple platforms, instead of having to create separate code bases for each platform. This can save a significant amount of time and effort, as well as reducing the overall cost of development. In addition, cross-platform development can also allow developers to take advantage of platform-specific features, while still maintaining a consistent code base. One downside of cross-platform development is that it can sometimes be difficult to achieve the same level of performance and functionality on all platforms. However, cross-platform development frameworks and tools like FireMonkey have been created to help overcome this challenge.

Screenshot

Does it use data bindings with LiveBindings?

Ready to learn how to program cross-platform apps like this?

Sign up for the Coding Boot Camp 2022 to learn to program. Topics include: Games, JavaScript, Web, Python, SQL, Databases, iOS, MacOS, Android, Mobile, Linux, Windows, Desktop, Server, and Arduino.


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free TrialUpgrade Today

Free Delphi Community EditionFree C++Builder Community Edition