10-10-2005 06:48 AM
10-11-2005 04:20 AM - edited 10-11-2005 04:20 AM
It could be more helpfully to post screenhots or your program!
regards,
ThSa
Message Edited by ThSa on 10-11-2005 04:25 AM
10-11-2005 04:51 AM
Hello,
no, I am not talking about the tools palette. Just place an image control with some image in it on a new VI front panel. Then, use the rectangle from the tools and select a ROI in the image. If you zoom in (using the magnification glass), and then grab the ROI and move it around, the image scroll with the ROI. So far, so good. If you now place the image control elsewhere on the panel, or add new control above it, resize the panel, etc. , this scrolling when moving the ROI will not work correctly if the origin (0,0) of the panel is far away from the image control.
I have attached a VI for simplicity (although there is hardly any code in it).
If you make a ROI and try to move it down, you will notice that scrolling starts if you move the mouse out to about 10cms below the image (depens on your screen, of course). After that, if you click on the ROI, the scroll bars and ROI might jump up to the upper end of the image. Imagine how annoying this is if you try to finely adjust the ROI position.
I think it is a bug in the implementation of the image display control.
Thanks,
Dirk
10-11-2005 06:39 AM
Ok, i understand you now!
Which IMAQ Vision version do you have?
10-11-2005 07:53 AM
Oh, I forgot that: LV 7.1 with IMAQ Vision 7.01
Dirk
10-11-2005 08:18 AM