I am having a bit of trouble using our my own images for button
icons. What
I would like to do is to use an image, say in pbm format, and turn
that into an image into an icon that a button can use. I got as far
as this:
1. create a button 2. click on the icon button 3. go to the
"my icons" card in the icon stack 4. double click on one of
the icons to edit it; an icon edit window appears 5. type
into the message box: import "pbm" from file
"/home/damascus/d45/mcintyre/metacard/sa.pbm"
The image then appears in the icon edit window.
What do I do next? I have had several core dumps if I try to a
window outside the button editing process. I have tried closing the
icon edit window and nothing happens to the icon that I have
selected to edit; the original image of the icon remains. I have
also tried closing the icon selection window by using the "OK"
button. Again, the icon on the button does not reflect the image
that I imported.
Has anybody done this successfully, and if so, could they tell me
how to do it?
Thanks,
Susan McIntyre MPR Teltech Ltd, Burnaby, BC CANADA
mcintyre@mprgate.mpr.ca
I've used images "as buttons" but I took the easy way out. Just
provided a mouseUp handler for the image directly. WHen i wanted it
to look and like a button I put an invisible button on top. I guess
you want more than this?
-sp-