image button issue

Servoy Developer
Version 3.0b3-build 364
Java version 1.5.0-b64 (Windows XP)

I have a controller/navigator form that has some graphical buttons.

Each one has an imageMedia GIF and a rolloverImageMedia GIF. The rolloverImageMedia has a turquoise rectangle one pixel wide all around it. The size of the imageMedia and rolloverImageMedia GIFs are identical.

This works as expected until I put a method on the onAction property of my image/button. At that point the rollover display stops working.

I have done other tests that show that the rolloverImageMedia GIF is being displayed. For some reason the outside rectangle is clipped from the rolloverImageMedia GIF when the onAction property is set.

I regard this as a bug, unless I’m missing some arcane setting.

Appreciate some kind of response from Servoy.

thanks,

Terry

Solved offline - correct, Terry?

Problem was to do with an image being a label until it has an onAction method. At that point it becomes a button.

This means that any label style being applied stops and any applicable button style is applied instead.

Obscure, by my problem.

thanks,

Terry