VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345678[9]10 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 07:34:44 07/31/00 Mon
Author: Michel
Subject: Re: I have place 3 imagescrollbox object, how to use the same functions?
In reply to: Raymond Cheng 's message, "Re: I have place 3 imagescrollbox object, how to use the same functions?" on 12:15:57 07/28/00 Fri


Hi Raymond,

At what exact line do you get the error, and what is the error message itself? Is the

UndoGraphic properly created in another section of code?

Best regards,

Michel

> Hi Michel,
>
> Yes, I want to share the code to other imagescrollbox.
>
> I have try to run following procedure but the system
> raise error message:
>
> I called the procedure as following:
>
> N90Click(FundoGraphic,Imagescrollbox1);
>
>
>
> procedure Tclientsamp.N90Click(const
> UndoGraphic:TdibGraphic;Const
> ImageScrollBox:TImageScrollBox);
> var
> Transform : TRotateTransform;
> begin
> UndoGraphic.Assign(ImageScrollBox.Graphic);
> Transform := TRotateTransform.Create;
> try
> { Transform.OnProgress := Self.OnProgress;}
> Transform.Angle := 90;
> Transform.ApplyOnDest(UndoGraphic,
> ImageScrollBox.Graphic)
> finally
> Transform.Free;
> end;
>
> FDirty := True;
> ImageScrollBox.Redraw(True);
>
> end;
>
>
> can you help me to slove this problem!
>
> Thank u!

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.