David Smith wrote:
> It sounds like you were attempting to surface the abstract property
> of TAlignment from TControl.

There's no such thing as an abstract property. Only methods can be 
abstract, and TControl has no abstract methods. It has an Align 
property, but everything in it is already fully hooked up.

> You also have to add the implementation
> code since an abstract property has no implementation, it's just a
> place holder so another developer can implement it. Take a look at
> the source code for other components that have an implemented
> TAlignment property

Maybe you meant the GetControlsAlignment method, which is virtual, 
although not abstract. TCustomMemo overrides it to hook it into the 
Alignment property that it introduces. The class makes the property _do_ 
something by using it in its CreateParams method.

> and take your queue from them.

Yes, TCustomMemo.CreateParams is the *cue* Emmanuel is looking for.



-- 
Rob

Reply via email to