Easy examples of a custom delphi component
Don't just download
do it yourself,
it is that easy!
The definition of the word component sounds like this : An object adhering to a component's architecture. Component technology can be a blend of object-oriented and Internet technologies. In a component based system, the components of a system may have generic interfaces through which they advertise their functionalities, enabling the dynamic loading of the components. See architecture and interoperability are important in this case. Most components can range from very small and easy to large and difficult. The thing I miss the most in my delphi help is the starting knowledge, conceptual support, just the slightest bit of code that will get you on your way. With this in the back of my mind I started creating delphi components that were easy to comprehend and decipher. Many of the so called professional components that can be bought are not at all that easy to understand however, they reference to other files, that on theirself reference to other files and so on. So I made sure that all of my delphi components used none or very few other files, which made them easier to understand and alter ofcourse
No need to first actually finish any delphi tutorial, every project includes working exe and the finished code
When I first started using delphi I was amazed at how easy I could build and or create a program myself. Ofcourse it did not do anything yet apart from that i was able to execute it, I only had to start up delphi 7, which is the only version i used for 6 years, and then the default configuration already created the project for you! Not long after that ofcourse, it started to get a bit dull, and I actually wanted to create some real programs with it.
My first project was a tiny application with which you could check the favorite bookmarks of internet explorer, a program that soon afterwards got very useless since of the many other great programs created by real programmers which did a much better job than me by the way.
My second program was a virtual hard drive manager this one is still not good enough to share me thinks, but you will find it at my delphi forum at first, t shows you in detail how to create virtual hard drives, how to delete them, create shortcuts to your program, and much more, and will be available with all source code.
Meanwhile I used some components, even before i knew what that word meant haha. But a component would be the perfect way for me to share my programming files making them portable and at the same time keep learning from it too. After I had read several so called component writing guides I manager to write my first component completely by myself and it was called helconstraints. All it did was constraining the form at runtime automatically, while still giving you the ability to deform the size, length and width in designtime. Not that much of an advanced component but it was my first one ofcourse and it was unique.
All of my delphi components can be easily installed like the little
youtube video shows. It is really easy and simple, and I am already planning to make an installer that installs all of the files at once. Most of what I have tested so far works with Delphi 2010 as well, so versions in between will work as well. You should really read the easy component writing guide, you will be amazed at how easy you can create them yourself from within delphi. What follows are just examples of delphi components I have created myself, dive into the source code and see how simple you can extend the functionality of Delphi.