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"
<delph...@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
version.
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?


Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to