--- In [email protected], David Smith <djsmith_1...@...> wrote: > > >>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. > > Okay yea, sounds good. That's what I meant :-). I read the Delphi manual > once... a long time ago. > > Dave >
Thanks, Dave for having suggested that I write the implementation code that would define the behavior introduced by the new property. > > . > > --- On Tue, 4/28/09, Rob Kennedy <rkenn...@...> wrote: > > > Yes, TCustomMemo. CreateParams is the *cue* Emmanuel is looking for. > > Rob > Thanks, Rob, for having given me the "cue". In case others would be interested, the actual "alignment" behaviors of a TCustomEdit control (including TCustomMemo) are translated in windows.pas in the Edit Styles constants: ES_LEFT, ES_CENTER, and ES_RIGHT, that we had to associate with the TAlignment objects taLeftJustify, taCenter, and taRightJustify respectively, in an overriden CreateParams procedure. And our TnwEdit's Alignment property executes every time you change its value. Once again, thank you, Dave and Rob! EL

