Delphi

Playing Audio Clips on Android

I have been working with our R&D team on the samples and snippets for RAD Studio XE5. Our mobile snippets are designed to showcase key functionality with just a couple of lines of code. Today I thought I would highlight our AudioPlayBack snippet. This snippet consists of the following 4 components: TToolbar 2 TSpeedButtons parented to the toolbar TMediaPlayer The toolbar Align property…
Read more
Delphi

Clone FireMonkey objects

Author: Vsevolod L1433 I’ve got a task of cloning FireMonkey objects. Let it be “chess”. An object is created as an aggregate in design-time. Look at the picture in the Structure pane. I have made the composite pawn model and start thinking of make 15 more. If you’re thinking of a similar method, please, try Clone method. It will help you clone any FireMonkey object, not…
Read more
Delphi

Components vs Children in FireMonkey

Author: Jayme Jeffman Filho You have probably iterated through the Components array many many times as a Delphi developer. Consider this simple application: It’s probably no surprise that listing the Components of the form like this… procedure TForm2.Button1Click(Sender: TObject); var i: Integer; begin Memo2.Lines.Clear; for i := 0 to ComponentCount-1 do …
Read more
Delphi

ORM Frameworks for Delphi...

I have just returned from myRAD Studio XE3 World Tour stops in Europe. It was great to see so many young and old developers in London, Amsterdam, Warsaw and Heidelberg. In two cities I was asked whether there were any Object Relational Mapping solutions for…
Delphi

Custom FireMonkey "TSimpleTriangle" component

Author: Pawe Gowacki Have you ever written a component in Delphi? Reusable components are the corner-stone of rapid application development and important part of Delphi success on the market. Being able to manipulate an instance of a class at design-time is where Delphi shines! One day I was looking at mocking up a FireMonkey turn-based board game. A screen with a board and names of two opponents.
Read more