Archive for November, 2008
The first beta for the components is available for download right here:
Close the IDE
Run the setup
Check the path is the Delphi for PHP 2.0 path
Run the IDE again
Now you will have a new category on the tool palette called Open Chart, and a component there. There is also a sample on the vcl\openchart\samples, with the [...]Posted by José León on November 25th, 2008 under Delphi for PHP, Uncategorized, VCL4PHP | 1 Comment »
Sometimes, our components, need to publish properties that are grouped under a common category. The first example can be the Font property, which allows the user to specify all font attributes in a single property, like name, size, boldness, etc.
You could add all those properties to your component in an ungrouped fashion:
But that will clutter [...]Posted by José León on November 19th, 2008 under Delphi for PHP, PHP | 2 Comments »
In the last article, we learned how to write a property editor to allow the user edit the Series property visually. On this article we are going to use the contents of that property to generate the chart, instead use dummy data.
Iterating through Series
At the end of the article, you will get the full source [...]
On the last article, we added some properties to the chart component, including a Series property, of array type, but such property cannot be edited directly through the Object Inspector. To allow the user edit such property, we need to write a property editor that visually allows the user to create all series and set [...]Posted by José León on November 13th, 2008 under Delphi for PHP, VCL4PHP | Comment now »
On this article we are going to create the basic skeleton for the component, we will add properties and will render the component with dummy information.
On the first article, we gathered the requeriments and set a task list, and now is time to add all the properties we want to provide, so the user [...]
On the previous article, we learned how to gather the requeriments to write the wrapper, now we are going to setup the folder where to place our component files and write some code.
Our component must live on the VCL for PHP folder the IDE uses, which, by default, is C:\Program Files\CodeGear\Delphi for PHP\2.0\vcl, so [...]
This article is not about coding, but about planning how to write a wrapper for an existing library. The very first step is to know how the library works, you don’t need to become a master on it, but you will need some key points and, usually, the samples provided by the library are enough [...]Posted by José León on November 10th, 2008 under Delphi for PHP, VCL4PHP | 2 Comments »
Some time ago I found these nice flash charting library:
So it was a no-brainer to write the components to wrap that functionality so it can be used in Delphi for PHP.
Here you can find a demo application:
To see the source for that demo, click here:
On the next few days, I will post some more articles [...]
Not everything at EKON12 was about software and computers, located in Mainz, the conference gave us also the opportunity to visit the city and enjoy the german autumn, here is a shot of what you can see just out of the building:
And here you can find, as promised, the two sessions about Delphi for PHP: