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
Delphi

Getting to grips with using FireMonkey Grids

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…
Delphi

New "TOSVersion" type in Delphi XE2

Author: Tóth Erik Delphi XE2 is probably the most significant release since Delphi 1. The number of new features is amazing and probably the biggest, most important one is FireMonkey – a brand new business application development platform that let you use Delphi…
News

Troubleshooting Entity Framework Connection Strings

Author: Craig Stuntz In an application which uses the Entity Framework, you may see the following error at runtime: MetadataException: Unable to load the specified metadata resource The cause of this error is a missing or malformed Entity Framework connection string. In particular, the cause of this error is the metadata parameter of the connection string. Let’s examine this more…
Read more
Delphi

Using Windows Stock Icons in Delphi

Author: Pawe Gowacki it is not a big discovery that all applications are running in the environment provided by the underlying operating system. Delphi is well-known for its rapid application development capabilities. The latest version of Delphi – Delphi 2010 &#8211…
Delphi

A case when FreeAndNil is your enemy

Author: Allen It seems that my previous post about FreeAndNil sparked a little controversy. Some of you jumped right on board and flat agreed with my assertion. Others took a very defensive approach. Still others, kept an “arms-length” view. Actually, the whole…
Delphi

Delphi 2010 DirectWrite "Hello World" Example

Author: Sinisa P29531 In my previous post I have translated Windows 7 SDK Direct2D “Advanced Geometries” examplefrom C++ to Delphi 2010 code. That was a lot of fun, so I have decided to continue the adventure in the realm of Direct2D programming and this timeconverted one of the DirectWrite examples – DirectWrite sample “Hello World”. Delphi 2010 Hello…
Read more
C++

Code Navigation In The RAD Studio Code Editor

Author: Darren Kosinski V1400 During the recent field test for RAD Studio 2010, I had a discussion with some field testers about the different mechanisms that the IDE provides for navigating through your source code. In particular, they were wondering why sometimes one…
News

The Delphi Eclipse...

Author: David O17638 One item in my previous post that I specifically didn’t address is the notion of using Eclipse instead of VS. Again, this is something we’d be remiss to ignore. However, the primary ding against Eclipse is its reliance on a JVM. Were it not for the fact that we are trying to support the .NET platform, this might be a reasonable path to…
Read more