Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Expert Delphi - Second Edition

You're reading from  Expert Delphi - Second Edition

Product type Book
Published in Feb 2024
Publisher Packt
ISBN-13 9781805121107
Pages 424 pages
Edition 2nd Edition
Languages
Authors (2):
Marco Cantù Marco Cantù
Profile icon Marco Cantù
Paweł Głowacki Paweł Głowacki
Profile icon Paweł Głowacki
View More author details

Table of Contents (21) Chapters

Preface 1. Part 1: Building Blocks
2. Chapter 1: Fasten Your Seat Belts 3. Chapter 2: Mind Your Language 4. Chapter 3: Packing Up Your Toolbox 5. Chapter 4: Using the Parallel Programming Library 6. Part 2: Going Mobile
7. Chapter 5: Playing with FireMonkey 8. Chapter 6: FireMonkey in 3D 9. Chapter 7: Building User Interfaces with Style 10. Chapter 8: Working with Mobile Operating Systems 11. Chapter 9: Desktop Apps and Mobile Bridges 12. Part 3: From Data to Services
13. Chapter 10: Embedding Databases 14. Chapter 11: Integrating with Web Services 15. Chapter 12: Building Mobile Backends 16. Chapter 13: Easy REST API Publishing with RAD Server 17. Chapter 14: App Deployment 18. Chapter 15: The Road Ahead 19. Index
20. Other Books You May Enjoy

Working with inherited views

When we design a form, it is the same for all platforms, form factors, and orientations. While you can use layouts, alignments, and anchors to make the form flexible, the differences in screen resolution and layout between different devices are generally very significant and had to accommodate.

By changing the platforms of a FireMonkey form, we can preview what the form is going to look like on different platforms, but the design remains the same. To address this problem, the FireMonkey Form Designer allows us to define inherited views that are specific to a given platform and the form factor. Next to the Style combo box at the top of the Form Designer, there is another combo box called View. Using it, we can add additional form files to our form that are specific to a given platform or a specific form factor.

Every form always has a built-in Master view. From the list, we can add additional views, as you can see in Figure 7.18.

Figure 7.18: Available views in the FireMonkey Form Designer ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}