C++

Using the new Windows 10 TMultiView mode in your FireMonkey applications

TMultiView is a smart menu component for FireMonkey applications that makes it really easy to create app navigation that automatically adjusts itself depending on form factor, orientation and target platform. TMultiView is a container component which means that you can parent many different components to it, such as a top aligned TToolbar or a client aligned TListview. Depending on device and…
Read more
C++

Adding headers to TListView programmatically

During today’s Delphi, C++Builder and RAD Studio 10 Seattle launch webinar, I got a question on how to add headers to TListView programmatically instead of using LiveBindings with a data source. Here is a quick code snippet showing how to programmatically add TListView headers. procedure TListViewHeaders.FormCreate(Sender: TObject); var Group, Item: Integer; begin for Group in [1..4]…
Read more
Delphi

How to vibrate iOS and Android phones using FireMonkey and XE8

Pawel Glowacki asked about vibrating smartphones using Delphi code for iOS and Android. Thierry Laborde and Williamm Wittwer of Embarcadero France provided the following Delphi and FireMonkey sample code: unit Umain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, …
Read more
Delphi

Using TLocationSensor with TMapView in RAD Studio XE8

Author: Alan K26627 During and after my Maps Skill Sprint last week, I received multiple questions on how to use TMapView with RAD Studio XE8. I thought I would create a new demo that showcases the following functionality to help answer those questions. This demo showcases the following RAD Studio XE8 functionality: Using TMapView on iOS and Android. For Android, you will need an API…
Read more