04-04-2008 03:01 AM
Hello everybody,
In our lab we would like to be able to display images on a small screen we use
with lasers. This screen is attached as a normal TFT screen on our computer,
and has a fixed resolution.
The problem now is to be able to display images that starts at coordinates 0,0
on the screen.
At the moment the only solution we found is to customize the window appearance
by setting the window as floating and remove most of the show checkboxes. By
setting the window position at -3, -3 we can then get the correct positioning.
The problem is that we cannot interact with the panel. Either we run it and
after a couple of seconds the run button reappears, or we run it continuously
and we cannot interact with the whole panel. Moreover, we do not like the fact
that we have to display the images in the front panel.
We would then like to show the images in a separate window, such as the popup
windows, but we do not know how to customize their appearance.
04-04-2008 07:44 AM
I think what you are trying to do is size your panel to the screen size? There are a few properties to note, Pannel bounds and window bounds, The window includes the title bar scroll bars menues... and will be bigger than the panel. You can calculate the difference between these properties to move the window to the correct size and positions to achieve your desired look. By hiding the scroll bars, title bars ect the difference becomes smaller hence -3,-3 (border of the window must be 3pixels)