Farid2010 Posted January 12, 2011 Report Share Posted January 12, 2011 Hi! I have problem with 2D picture control. when the image is loaded in the 2d picture box, it is placed in up and left part of the picture box and the rest remains white. How can I set it to fit in the whole picture box? Thanks Quote Link to comment
Grampa_of_Oliva_n_Eden Posted January 12, 2011 Report Share Posted January 12, 2011 Hi! I have problem with 2D picture control. when the image is loaded in the 2d picture box, it is placed in up and left part of the picture box and the rest remains white. How can I set it to fit in the whole picture box? Thanks with modern versions of LV you have two options (that are straight froward) either size the picture control to the size of your image or zoom the image in the picture. This thread on the dark side http://forums.ni.com/t5/BreakPoint/LV-Picture-Control/m-p/197962 has many links to picture control examples. That may help out. Ben Quote Link to comment
Farid2010 Posted January 12, 2011 Author Report Share Posted January 12, 2011 Thanks Ben. I have another question. I put the activeX container in front panel and inserted windows media player into the container. The problem is when the program loads the video, the windows medai player expands to a bigger window which goes out of my container!! How can I fix it? I want it play inside the container. Tnx again Farid Quote Link to comment
Grampa_of_Oliva_n_Eden Posted January 12, 2011 Report Share Posted January 12, 2011 Thanks Ben. I have another question. I put the activeX container in front panel and inserted windows media player into the container. The problem is when the program loads the video, the windows medai player expands to a bigger window which goes out of my container!! How can I fix it? I want it play inside the container. Tnx again Farid well that follow-up is outside my comfort zone. I would start looking for a method or property associated with media player that controls the sceen size. Ben Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.