>2. I want a picture (icon) instead of a button that response on click-event
>in a repeating table. How do I do?
The OnClick event is specific to the button form control.
Andrew Watt
MVP - InfoPath
You can have a dynamic label on a button ONLY if it is in a preserve code block. For ideas of how this might work, check out the InfoPath Dev Example titled, "Rudimentary Animation". It's not about the button specifically, but the button label will use the same technique.
As for a picture button, you can do this, again with some manual work, by using a background-image on the button and then removing either the background-color or border. Do a search in Google Groups for this topic. It's been discussed. The big issue is that the image (being a background image) will not "click" with the button.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
Hello,
I have two questions:
1. How can I change the label for a button (located in a repeating table)
from code? Is there any chance to reach the UI-objects?
2. I want a picture (icon) instead of a button that response on click-event
in a repeating table. How do I do?
Thanks in advance!
Regards Gunilla