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…
All of our modern PCs, Smartphones, Tablets and other devices include more than just a screen, keyboard, mouse, memory, and storage. The devices We use include sensors for location, orientation, acceleration, ambient light, etc. My Samsung Slate Series 7 is a hybrid or…
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>…
Clone FireMonkey objects
February 6, 2013
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…
Setting Text Parameters in FireMonkey
February 5, 2013
Author: Сергей
One of small but rather useful new features of FireMonkey introduced in XE3 version is the FMX.Types.ITextSettings interface. Often we need to change some parameters of an output text for a component, which class is not known a priori. For example, a…
YAML and Remote Code Execution
February 4, 2013
Author: Craig Stuntz
YAML’s security risks are in no way limited to Rails or Ruby. YAML documents should be treated as executable code and firewalled accordingly. Deserializing arbitrary types is user-controlled, arbitrary code execution.
It’s Not Just Ruby
A…
Author: Craig Stuntz
HTML input elements have a placeholder attribute which you can use to show a bit of text to prompt the end user. Although you can make an editable div by using the contenteditable attribute, it will not support the placeholder attribute. I needed to do…
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;
…
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…


