cancel
Showing results for 
Search instead for 
Did you mean: 

Edges around window

SOLVED
andrej
Active Participant
Solved!

Edges around window

Message contains an attachment

Hi,

 

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

 

Thanks,

Andrej

5 REPLIES 5
Alex.T
Active Participant

Re: Edges around window

Message contains an image

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)

andrej
Active Participant

Re: Edges around window

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?

 

yenknip
Active Participant

Re: Edges around window

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

 

_____________________________
- Cheers, Ed
Alex.T
Active Participant

Re: Edges around window

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)

andrej
Active Participant
Solution

Re: Edges around window

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