I’ve been using the windows API call ShellExec for years to pass in the file name of a file I want to launch programatically with the default application on Windows; but I am now creating an application for use on Windows and Mac with FireMonkey for the upcoming season of Developer Direct LIVE Mobile Summer School (starting Tuesday 16th July) and I need to implement the same functionality on…
Cross platform anonymous threads and progress notification
April 30, 2013
Author: David Clegg
Reading Anders Ohlsson’s latest blog post about using iOS APIs we don’t wrap reminded me of another couple of helper classes that I created, and which ship with the RAD Studio XE4 samples.
The first of these is the TAnonymousThread<T>…
Delphi Labs: DataSnap code samples updated to XE3
January 10, 2013
Author: Pawe Gowacki
It seems that it is my very first post in the New Year 2013, so I wish You all the best and great time writing all kinds of programs. I’m sure it is going to be a great year for Delphi and Marco is predicting it as well, especially that next month…
XE3 Visual LiveBindings: User defined objects
December 11, 2012
Author: Jim T1392
The adapter components TListBindSourceAdapter and TObjectBindSourceAdapter enable LiveBindings with user defined TObjects.
Here is a user defined TObject for example.
type
TContact = class
private
FFirstName: string;
FLastName: string;
public
constructor Create; overload;
constructor Create(const AFirstName, ALastName: string); overload;
property…
Components vs Children in FireMonkey
December 5, 2012
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…
ORM Frameworks for Delphi...
September 25, 2012
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…
For those of you who need to learn more about Delphi programming, Alister Christie (http://learndelphi.tv/)who is one of our Embarcadero MVPs, has 74 free Delphi tutorial videos and a long form training videos “Building Applications in Delphi Using the Visual Component Library Part 1 and 2” (12 hours of training) available for sale…
Custom FireMonkey "TSimpleTriangle" component
June 26, 2012
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…
Getting to grips with using FireMonkey Grids
May 29, 2012
Although there is a huge amount that is the same for Delphi and C++ Builder developers between VCL and FireMonkey, one thing that has changed is the FireMonkey grids.
FireMonkey Grid Example
After a recent question at an event, I thought I would put a little demo together to…
Writing a FireMonkey DLL for use with a VCL application.
October 10, 2011
VCL App calling a FireMonkey DLL
We have had a lot of questions on the road show tour about how to mix Fire Monkey and VCL. Although this is not officially supported, a number of blogs have started to appear with ways to do this.
One way that is appropriate to add additional functionality to your VCL application is by writing a DLL library that contains your FireMonkey forms and initializing that…