Is This Content Helpful?
We're glad to know this article was helpful.
This article explains how to set the icon for a new button. An icon can be any size, but the IconMgr shows only those that are less than 24x24 pixels by default. The script below opens an Icon manager that displays icons of all sizes.
'-- Create a button and prompt the user to choose an icon for it
newButton = Button.Make
newButton.SetIcon(IconMgr.Show(0)) '<-- IconMgr.ShowWithDefault can be used as well
Refer to ArcView Help for more information on the class IconMgr and the requests ShowWithDefault or Show.