Hi All,
I have a window whose front panel is completely covered with the new Image
Display control in IMAQ 7.
Ideally this window would act as a image display. So as the operator
changes the size of the window, the image display control would resize
itself to cover the entire window.
Our initial iteration of this uses the property "Scale all objects on front
panel as the window resize". Setting this property for the VI achieves the
required behavior of resizing the image control when the window is resized,
however, we are finding that the size of the image display never exactly
matches the window size. Specifically, when the window is sized 'small' the
image display takes up less then the whole window. When the window is sized
'large' the image
display takes up more then the window size.
We could not get this to work properly so we thought that we could manually
watch for a panel resize, and programmatically resize the image display.
The problem with this is that there is no property available to WRITE the
size of the image display.
So I am hoping that someone here as managed to get something similar to this
to work. If you can offer any advice, please do so.
Also, if anyone has answers or insight to the following questions, please
share them:
1) why don't ALL controls have a writable BOUNDS property.
2) why doesn't "Scale all objects on front panel as the window resize"
maintain proper scale for the control on the front panel..
Thanks in advance.
Denis