10-26-2009 04:51 AM - edited 10-26-2009 04:53 AM
Hi !
I created my own popup message and I want an Enable/disable option like the express popup message.
I did a case which include everything in my VI but the window is still blinking when it is false (disable) and what I want is to not displayed it at all when it set on disable.
My second question, I have a picture to display and I would like to center the picture in the "PictureDisplay" area, is there a way to do that ?
You can find my VI in attachment.
Thank you guys.
Solved! Go to Solution.
10-26-2009 05:03 AM
here a printsreen :
10-26-2009 08:17 AM
For the first question
You have to uncheck "Show front panel when called".
In the VI, you open the front panel only when the control enable? is true.
Your previous code with a small modification
You close the front panel.
For the second question
I don't see a straigt forward way to center the image in the image control.
a) create an image with the same color of the front panel and use Draw Flattened Pixmap.vi to insert yours image (from the file) at the coordinates you want (shift the coordinates of the rectangle).
or b) ajust the size of image display to the size of the image and center the image display into the pane.
Jean-Marc
10-26-2009 10:34 AM