How to sublass...
Posted on 1998-08-29
I am reasonly new at the object side of Delphi. Using D3. I have purchased a 3rd party toolset with source, InfoPower. They have a class, TwwDBEdit that I wish to make a similar class, but with an underline for a field instead of a complete border. When I asked InfoPower about this, they said "I suppose you could subclass the component, and set the borderstyle to none, and have the wmpaint method paint the line the way you want..".
This is all fine and well, if I knew what I was doing... <g>. Can someone give me a shove in the right direction.
-- Code fragments greatly appreciated --
Also, how do I get my new control to show up on the VCL controls panel.