ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
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
 TImageEnVect - Zoom In or Zoom Out not working
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

LukaL

Slovenia
13 Posts

Posted - Jan 11 2014 :  14:35:49  Show Profile  Reply
The Zoom functionality is not working - with explicit call to ..ZoomIn / ZoomOut or with mouse scroll.

The control has all AutoFit, AutoShrink, AutoStretch set to FALSE.
How could that be ? What am I missing.

Here is the code ( nothing else is set in code - this is it )

object iePriponkaView: TImageEnVect
Left = 319
Top = 65
Width = 745
Height = 211
ParentCtl3D = False
BorderStyle = bsNone
MouseInteract = [miZoom, miScroll]
DelayZoomFilter = True
EnableInteractionHints = True
Align = alClient
TabOrder = 2
BitmapResampleFilter = rfBilinear
end

I'm using ImageEn version 4.1.4.

Thank you for your help.

w2m

USA
1990 Posts

Posted - Jan 11 2014 :  14:39:37  Show Profile  Reply
Show us the code you are using.

William Miller
Go to Top of Page

LukaL

Slovenia
13 Posts

Posted - Jan 11 2014 :  14:42:17  Show Profile  Reply
The image is loaded to the vectorView via imageEnMView like this :

iePriponkaMView.CopyToIEBitmap( idx, iePriponkaView.IEBitmap );
iePriponkaView.RemoveAllObjects;
iePriponkaMView.MIO.Params[ idx ].ImagingAnnot.CopyToTImageEnVect( iePriponkaView );
iePriponkaView.Proc.PasteFromClipboard;


And on the ZoomIn button click event is this code
iePriponkaView.ZoomIn;

Nothing else I can find.


I have ImageEnVect on a nother form (same logic as on this non working form) and it is working OK there .. I've even copy-pasted the component -- but the result was the same - non working ImageEnVectView ( Zoom ).
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 11 2014 :  14:58:09  Show Profile  Reply
There must be something wrong on your end. Zoom In and Zoom Out works perfectly fine here, and in another app you are running, so it is not ImageEn causing the problem.

I'd try to recreate the form again by dropping components on the form.. not by copy and paste.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

xequte

39064 Posts

Posted - Jan 12 2014 :  02:19:15  Show Profile  Reply
Hi

Also please check that AutoShrink, AutoStretch and AutoFit are all False.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

LukaL

Slovenia
13 Posts

Posted - Jan 12 2014 :  02:32:39  Show Profile  Reply
Hmmm .. I did not mention this before - because I didn't think it matters... BUT This form is inherited on another form (and not a single functionality is changed regarding imageEn).

SO basicaly it is like this.

1. If I create a new form - Inherited item ; Imageen ZOOM is not working.
2. If I drop a new component on this Inherited form and RE-Code all the missing functionality the ZOOM starts working again - Strange I know.

Maybe it is just a coincidence ... dunno.


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: