LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Transparency In Icons

Hi,

 

I've not seen this problem before.  Using the icon editor, I created an icon.  But when I build the app there are pixels that show up as black.  I then set the color to white, select a tool (pencil or fill) then select the eraser, then start erasing the pixels I want to be transparent.  From the documentation, this appears to be the way to do it.  In the icon editor, it looks fine.  But when I save it and look directly at the icon, what I get are black pixels where my pencil has been.

 

I can fill the area with white (which is better than black), but I really want transparent.

 

Any ideas what I might be doing wrong?

 

Thanks,

 

Dave

0 Kudos
Message 1 of 4
(3,278 Views)

Hello Dave,

I noted this same behaviour a few times in my activity but every time it was on UIR files saved as previous versions (i.e. a CVI2012 project in which the UIR was set as CVI7.1 version).

It happens to me when I update an old program to a newer CVI IDE release or sometimes if I add to a new project an old UIR file to reuse some of its panels.

Can you check which release your UIRs are marked? Simply open the UIR and go to File >> Save As... : the dialog will say the version the UIR is saved against.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(3,255 Views)

Hi Robert,

 

Thanks for the feedback.  The .uir is saved as the file type which is the same as the version of LabWindows I'm using (which happens to be 2013 for this project).

 

Just to be clear, this is the Windows icon and not any of the panels in the application.

 

Thanks again.

 

Dave

0 Kudos
Message 3 of 4
(3,241 Views)

Weird.  Starting with the icon without transparency, I erased the icon then saved.  I then recreated the icon from scratch and saved again.  And now it's fully transparent.

 

Go figure.

 

d.

0 Kudos
Message 4 of 4
(3,227 Views)