Selon Jesus Reyes <[EMAIL PROTECTED]>:
>
> --- fedorax <[EMAIL PROTECTED]> escribió:
>
> > Hello,
> >
> > I just make a new svn update and i've a little problem:
> >
> > using:
> > Printer.Canvas.TextStyle.Alignment=taRightJustify;
> > return this error:
> > cheques.pas(210,35) Error: Argument can't be assigned to
> >
> > Did something change or is it a bug ?
> >
> > Lazarus svn 11153
> > FPC svn 7358
> >
> > OS: linux fedora core 6
>
> Yes, unfortunately the compiler (2.3.1) doesn't allow this anymore
> don't know if this will be merged to 2.1.x maybe it is already (?),
> you will have to use a temporal TTextStyle variable, something like
> this:
> var
> T: TTextStyle;
> begin
> etc.
> T := Printer.Canvas.TextStyle;
> T.Alignment := taRightJustify;
> Printer.Canvas.TextStyle := T;
> etc.
> end;
>
> I don't have 2.3.1 to test, hope it works;
>
> Jesus Reyes A.
>
Thank's, your tip work.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives