Thanks Roger, Thanks Klaus - of course, so simple. You don't know what a great sense of relief I had this morning when I tried this out. I am now off and running.

By the way Klaus, you were a little slow at responding this time. Roger was way ahead of you. (At least in the list order.) Were you catching up on some sleep or something - or is there an other distraction in your life!! Thanks again.

cheers

Greg


 I have a stack "Display" and a sub-stack "GraphicsStore". I can set a
 button id 1005 (in the "Display" stack) to a image id 1234 in the
 substack via the properties palette, however I am having trouble
 changing the image via a script.

 I can remove the icon by;

 set the icon of button id 1005 to image id 0

 however

 set the icon of button id 1005 to image id 1234
 or
 set the icon of button id 1005 to image id 1234 of substack
"GraphicsStore"

Greg,

You don't have to say "image id". Just leave that out and use the number
alone... like this:

set the icon of button id 1005 to 1234

Roger Eller
[EMAIL PROTECTED]



the correct syntax is like this:

set the icon of btn x to 1003
## without "image id", just the naked id, or

set the icon of btn x to the id of image "pic1" of cd 1 of stack "xyz"
## the complete decription (of cd x of stack y) is necessary in that
case...


Hope that helps.

Have a nice weekend.


Regards


Klaus Major
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to