![]() The approach Delphi and FireMonkey provide make it quick and easy to do the most common tasks, while also keeping all the platform APIs and features within reach.ĭelphi really invented the 3rd party component market as far as I am concerned. Now with multi-platform development Delphi is more important than ever. While other general purpose tools don’t do anything to optimize common scenarios, which makes simple tasks more complicated than they need to be. Other tools that focus on productivity, make a small subset of tasks as easy as Delphi does, but also make anything beyond those tasks, or the that “ideal” scenario, hard or impossible. ![]() One of the defining characteristics of Delphi for why I keep coming back to it is that it makes the common tasks really, really easy while keeping the rest simple and possible. Occasionally I’d try personal projects in other tools and languages as a way to get to know them better, but I still found Delphi to be a better solution for most general purpose projects. Throughout all of this, I still found myself choosing to Delphi for personal projects. Also, if you are already using Platform native ControlType on iOS or Windows then those control will take advantage of the Android Platform native ControlType right away! Once it is released you can learn more about all of these features in the DocWiki. What’s Next?ġ0.3 Rio is in beta (which means these features are subject to change) and available to update subscription customers. Setting their ControlType to Platform doesn’t make these platform-native, it just makes them work correctly with other platform native controls. TButton, TSpeedButton, TColorButton, TCornerButton, TPopupBox, TMagnifierGlass, TPanel, TLabel, TCheckBox, TRadioButton, TGroupBox, TStatusBar, TToolBar, TProgressBar, and TTrackBar.These controls have a ControlType property that when you set it to Platform it will maintain the Z-Order with other platform-native controls. Now you can put control buttons over your TMediaPlayer for example. Native Aware Android Z-OrderingĪdditionally many controls now are able to handle a Z-Order over a platform native control. You can configure these settings on your Android devices in Settings > General > Keyboard. Some of these behaviors vary from one Android platform to others (for example Samsung has a Clipboard feature). Text Shortcuts:? That will expand into the word or phrase as you type.“.” Shortcut: Double tapping the space bar inserts a period followed by a space. ![]() Define: You can select a word and click on Define to see the definition of such word in the dictionary.Auto-Correction: Words are suggested while typing, these can be used by clicking on the space bar.Here are some of the advantages your users will now have when you use a ControlType of Platform with your TEdit This is especially important in the TEdit as there are certain behaviors that are attached to the way users provide keyboard input and edit text. You may notice some slight changes in the way they look and work because of this. That means when you set the ControlType property on these controls they will be rendered by the Android system instead of FireMonkey. The TWebBrowser, TMediaPlayer, TBannerAd, and TMapView are always platform native controls (they are rendered by the underlying Android OS and not by FireMonkey.) But in 10.3 Rio there are 4 new controls that are optionally platform native. Now with the upcoming 10.3 Rio release the ControlType property is coming to Android, and it is brining two significant benefits: More Native Controls, and corrected Z-Ordering. Setting it to Platform switches a FireMonkey control to a platform-native control at runtime. In XE7 we introduced the ControlType property for iOS, and then in Seattle we brought it to Windows. There were ways around it, but it was still frustrating. This was especially annoying when you were using them with the TMultiView (one of my favorite controls), because the drawer would slide out under instead of over the platform-native control. That stacking of controls is knowns as Z-Order. ![]() ![]() Before 10.3 Rio when you used a a platform-native control, like TWebBrowser or TMediaPlayer, you were not able to put other controls on top of them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |