How OnZoomChange functions

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

How OnZoomChange functions

Postby Mirage » December 22nd, 2005, 2:11 pm

Hello

How OnZoomChange functions????
Please give me example.

Thank you
User avatar
Mirage
Junior Member
Junior Member
 
Posts: 44
Joined: October 26th, 2005, 11:41 am

Postby elias » December 22nd, 2005, 2:52 pm

Please write "SimpleGraphZoomChange" in ZoomChange (In the Object Inspector);
You'll see this:
Code: Select all
procedure TMainForm.SimpleGraphZoomChange(Sender: TObject);
begin

end;

Now write:
Code: Select all
procedure TMainForm.SimpleGraphZoomChange(Sender: TObject);
begin
showmessage('Here comes the Zoom event');
end;

This way, each time you increse or decrease the zoom, you will run the SimpleGraphZoomChange.

Is this what you were asking for???
elias
Senior Member
Senior Member
 
Posts: 90
Joined: November 8th, 2005, 12:09 pm
Location: Galicia, Spain


Return to DELPHI AREA Products

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron