Skip to the content.

Kastri Native Controls Demo

Description

The controls have been created to support proper z-order with other “native” controls supplied with Delphi, such as TMapView and TWebBrowser, i.e. they can overlay the other native controls

Note that at present, most of the controls will function only on Android and iOS, however the controls are rendered in the designer close to what they will look like on the target platform.

Please refer to the native controls documentation for details about the controls themselves, including installation


Note about TNativeSlider on Android

As TNativeSlider is based on SeekBar, and it was necessary to create a descendant of the Java class (in order to implement a vertical SeekBar), when creating your own project, you will need to add the base jar for Kastri:

..to the Libraries node under the Android platform in Project Manager in your project. (This is already added in the demos)

Note about TNativeImage on Android

In order to use the LoadFromFile method, you will need to enable Secure File Sharing in the Entitlements section of Project Options

Appearance

Here’s how the controls look:

Design Time

Design Time

Android

Android

iOS

iOS