Hi everybody, I derived an edit control from the TEdit class to implement the TAlignment behaviors. All I can get is the new published Alignment property with all the Alignment options. But when I set the Alignment to a new value, the change is not implemented in the control. I used the RecreateWnd method after I set the property to a new value:
procedure TnwEdit.SetAlignment(Value: TAlignment); begin if FAlignment <> Value then begin FAlignment:=Value; RecreateWnd; end; end; Am I doing something wrong? Or is the TAlignment behaviors are defined somewhere else other than the TAlignment Class? Please, help. Any suggestions welcome. TIA. Emmanuel

