11-02-2011 09:16 AM
Hi,
I would like to remove edges (3D effect) around window (see attached picture). Is it possible?
Thanks,
Andrej
Solved! Go to Solution.
11-02-2011 10:22 AM - edited 11-02-2011 10:25 AM
Hi Andrej,
I'd suggest using the Get Image Subset VI. This VI allows you to specify a bounding box to cut out from your image based on data specified within a cluster called 'Subset Rect' (Left, Top, Right, Bottom) which specifies the pixel co-ordinates of each corner of the selection region. The image is taken as Image Data; a String which can be generated when using the Read JPEG/Read PNG/Read BMP VIs.
11-02-2011 10:43 AM
Hi Alex,
I wasn't clear enough before. I'm not trying to get an image of a front panel, but I would like to remove this edge (3D border) on a window in run-time. This edge (3D border) appears when you remove title and menu bar.
Was I clear?
11-02-2011 10:52 AM - edited 11-02-2011 10:53 AM
In the VI properties (ctrl+i) -> goto window appearance -> custom -> and turn off resize window and titles bar
11-02-2011 10:55 AM
Hi Andrej,
Sorry for my misunderstanding. If you go to VI Properties, set the Window Appearance to 'Dialogue'. Then, deselect the 'Window has title bar' option from the Customize... menu; this should remove the entire window border.
11-02-2011 10:59 AM
Hi,
I solved the problem. Actually this effect is only when Window behavior is set to modal. I changed it to floating and now it is as I expected.
Thanks for help.
Andrej