Toolba Button Icons

  • Thread starter Thread starter e
  • Start date Start date
E

e

Hi,
Can somebody explain me what autocad is doing when you set the icon image for an existing toolbar button and for a new button? After I change the icon, autocad shows the old icon. It looks that even if I use save as and save the icon on autocad's search path, autocad still creates an icon file random named (RCDA0257 for example) to the current working folder. thank you Emil
 
If you are creating a custom icon to be used in a toolbar, you need to modify the menu where the toolbar is located and code the actual icon file name (and path if needed) so that the icon can be displayed.

Jeff
 
Below is an example of one of my icons located in the TOOLBARS section of my acad.mnu:

***TOOLBARS

**TB_COLUMN
ID_COL_0 [_Toolbar("Col",_Floating,_Show,400,50,0)]
ID_COLUP_0 [_Button("Colup", "0041.bmp", "0041.bmp")]^c^c(if (not colup)(load "colup"));colup ID_EXTEND_0 [_Button("extend", "icon5556.bmp", "icon5556.bmp")]extend
 

Latest threads

Back
Top