--- In [email protected], David Smith <djsmith_1...@...> wrote: > > It sounds like you were attempting to surface the abstract property of > TAlignment from TControl. 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. > >
The only implementation code involved in publishing a property, that I know of, would be a SetValue procedure and/or a GetValue function when direct access to the field value is not used. What are the other possible circumstances where one may have to write implementation code to define a property? > >Take a look at the source code for other components that have an implemented >TAlignment property and take your queue from them. > > I have done that. I inspected the codes of TjvEdit of the Project JEDI which contains an Alignment property. Their approach is exactly the same as mine. But the results are not. I must be doing something wrong. Thanks. EL

