For Programmers: Free Programming Magazines  


Home > Archive > Delphi > May 2005 > Tutorial on creating control/components?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Tutorial on creating control/components?
Reenen

2005-05-09, 11:29 am

Hi

I am not new to delphi programming, but I tend to only use the components that are included with delphi.

For my new project though, I need an interface where I have an 'active-area', and I want to create a component that is a combination of 2-3 labels, and a panel/paintbox/image.

I need to be able to create unknown amounts of these at runtime, so I cannot just drop a component on a form.

I have never designed a component or a control. Should I create a class that's a descendant of TPanel/TImage/TPaintBox, or should I go much more basic with TGraphicControl?

I have no idea where to start so if someone can help me, I'd greatly appreciate it. Or just show me to a tutorial on designing graphical classes.

Thank you so much!

-Reenen
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com