Icon button not visible.

Icon button not visible.

mr.engineer.aec
Advocate Advocate
1,371 Views
4 Replies
Message 1 of 5

Icon button not visible.

mr.engineer.aec
Advocate
Advocate

 Hi guys,

When i debug code add icon button so my icon is not visible on Panel 2.
Panel 1 is split button, they are worked. But Panel 2 is not visible icon. But code by button in panel 2 work exactly
My code under.
How can i solve this issue ?
Thank in advanced.

New Bitmap Image.png

0 Likes
Accepted solutions (2)
1,372 Views
4 Replies
Replies (4)
Message 2 of 5

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @mr.engineer.aec ,

I think you should add an image icon to the pushbutton, not to the pushbuttonData.

In your code 

 button21.LargeImage = BMI;

replace the above line with this

sb2.LargeImage = BMI;

I hope this helps.

 

 

 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 3 of 5

mr.engineer.aec
Advocate
Advocate

Hi @naveen.kumar.t 

it still not visible icon 😞

0 Likes
Message 4 of 5

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @mr.engineer.aec ,

can you see an image in the pushbutton?

If you can see your image in the pushbutton but the image is not properly visible(or) zoomed in (or) zoomed out then there is a problem with the image pixels.

 

If you can't see your image in the pushbutton then it is a different issue.

 

Can you please explain your problem clearly!!!!!

 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 5 of 5

mr.engineer.aec
Advocate
Advocate

 Hi @naveen.kumar.t 

Thank for your reply. 

With your reply, i changed icon and they work exactly.

Maybe, old icon is error. 😁

0 Likes