[fpc-pascal] Component Writing - Registering Components with the widget set

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Feb 6 16:04:51 CET 2010

This is a fpc list. Please put lazarus question on the lazarus list
or forum.

On Fri, 5 Feb 2010 07:55:41 +1100 "Justin Smyth"
<delphian at smythconsulting.net> wrote:

> Can someone help here , if i have my own custom component thats got a container that has a base class of TCustomControl does one need to register it on the widget level ? do i just use WSRegisterCustomControl and write my own setters and getter like the ones in wscontrol ?
> Just not sure if i need to use this widget bit 

The WSRegister functions are needed only when you create the handle
yourself. That means you have to write for every widgetset your own
If you write a TCustomControl you don't need to bother about the
widgetset internals.

What type of custom component do you want to create?


More information about the fpc-pascal mailing list