> procedure TEditX.CreateParams(var Params: TCreateParams);
> begin
>     inherited CreateParams(Params);
>     Params.Style := Params.Style or ES_Right;
> end;

You will need to set ES_MULTILINE also in order for Right Aligning to work
properly. Remember then to somehow "blank" out the enter key otherwise it'll
look weird.

Deepak Shenoy
Agni Software
http://www.agnisoft.com

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to