LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Edges around window

Solved!
Go to solution

Hi,

 

I would like to remove edges (3D effect) around window (see attached picture). Is it possible?

 

Thanks,

Andrej

0 Kudos
Message 1 of 6
(2,677 Views)

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.

 

Bounding Box.png


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 2 of 6
(2,659 Views)

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?

 

0 Kudos
Message 3 of 6
(2,649 Views)

In the VI properties (ctrl+i) -> goto window appearance -> custom -> and turn off resize window and titles bar

 

_____________________________
- Cheers, Ed
0 Kudos
Message 4 of 6
(2,642 Views)

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.


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 5 of 6
(2,636 Views)
Solution
Accepted by topic author andrej

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

0 Kudos
Message 6 of 6
(2,631 Views)