Re: images on icons

Bruce Holm (starnet!apple!wv.MENTORG.COM!bruceh)
Wed, 1 Mar 95 12:13:47 -0800

On Feb 28, 12:19pm, Charles Bowen wrote:
> Subject: images on icons
> Subject: images on icons
>
> Can someone help me out...
> I am trying to place an image on a button and haven't been able to figure out
> how.
> Any help is appreciated.

Assuming you have an image to place on the button somewhere in your stack...
use the following:

set the icon of button <foobar> to <image ID number>

i.e.

set the icon of button "New Button" to 1868

After doing this, make sure you don't delete this image from your stack. I
would put it on a card in the stack that you (the user) never traverses to or
hide it in a group (background).

Let me know if this isn't clear.

--Bruce

-- 
* Bruce G. Holm                503-685-1350    email:  bruceh@wv.mentorg.com
* Mentor Graphics Corp.        503-685-7000
* 8005 SW Boeckman Rd.
* Wilsonville, OR 97070-7777   Disclaimer:  Opinions expressed are my own!