Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
Forum membership is Free! Click
Join
to sign-up
Username:
Password:
Save Password
Forgot your Password?
All Forums
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
miSelectZoom rectangle data
New Topic
Reply to Topic
Author
Topic
spetric
Croatia
308 Posts
Posted - Jan 30 2015 : 16:35:31
Hi,
How can I determine points of rectangle selection when miSelectZoom MouseInteract is on?
I've tried with SelX1, SelX2, SelY1, SelY2 both in OnViewChange and OnViewChanging but without success.
Should I use OnMouseUp event in combination with standard rectangle selection (and then call ZoomSelection method) or there is other way around?
TIA,
Siniša
klausdoege
Germany
389 Posts
Posted - Jan 31 2015 : 03:04:17
Hello,
try this:
procedure TForm.ImageEnVect1SelectionChanging(Sender: TObject);
begin
label1.Caption:='X1/Y1='+inttostr(ImageEnVect1.Selx1)+'/'+inttostr(ImageEnVect1.Sely1)+ ' - X2/Y2='+inttostr(ImageEnVect1.Selx2)+'/'+inttostr(ImageEnVect1.Sely2);
end;
Klaus
www.klausdoege.de
spetric
Croatia
308 Posts
Posted - Jan 31 2015 : 14:23:30
Yup, it works!
Thanks a lot Klaus.
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page