LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to put a picture in a Dialog Box with a caption and two buttons?

Solved!
Go to solution

I would like to have a pop up dialog box that would show a picture with a caption and allow an operator to click 'OK' or 'Cancel'.

 

Has this been done before or is there any alternatives? I have thought about having two seperate pop ups but this wouldn't be as neat for a final solution.

 

Thanks.

 

 


Windows 7. LabVIEW 2011.
0 Kudos
Message 1 of 4
(4,102 Views)
Solution
Accepted by topic author 19jmc

Hi jmc,

             See the links below.This will be helpful to you.

             http://forums.ni.com/t5/LabVIEW/A-picture-as-a-dialog-box/td-p/236851

             http://forums.ni.com/t5/LabVIEW/Dialogbox-with-user-input-and-image/td-p/1601214

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
Message 2 of 4
(4,091 Views)

If this is a static picture on the front panel then you can just paste a picture right on the front panel.

 

As for the caption, just use static text. Or does this caption need to change? If so, you will obviously need a string control as an input. You should disable the string control so that a user can't change the text.

Message 3 of 4
(4,083 Views)

Thanks for your replies smercurio_fc and danil33!

 

The second link from danil33 was extremely similar to what I was after...the joy of using the forum!

 

Much appreciated.


Windows 7. LabVIEW 2011.
0 Kudos
Message 4 of 4
(4,076 Views)