Hi Harjo and all others
Unfortunatly, at least to me, it’s not that easy. There are 3 different classes of objects:
In the toolbar (Servoy Version 5.2.x) there are 3 buttons to select the 3 above mentioned objects (A for label, ab embossed for button, and the green blue yellow carré to get an image. This is suggesting that there are 3 separate objects by saying Place Label, Place Button, Place Image…
So far so good.
But, if you have them placed in a form, the title of the properties pane says Label / Button (the Image is not mentioned any more in the title).
So, starting with 3 classes of objects, suddenly they are all the same. But even then there are subtle differences. By applying for example an onAction method to an image, and setting the showClick property, the image “looses” the LabelFor property. Set showClick again and you get the LabelFor property back. So it seems that a button is really a button if it has no LabelFor property!?
Coming back to our problem: Obviously it might be that one would like to give different group access to these 3 different classes of objects (we would like to
, but the way Servoy handles them, i. e. does not separate them except when selecting in the toolbar, it’s not possible (except you work with naming and prefixing the elements)
But you see that the Windows L&F handles them differently, by “only” checking the showClick property (making a black border, even when the property borderType is set to Empty - not very logically, is it?
In my view there is something wrong here with these 3 objects.
Hope my explanation make it a bit clear what I mean. I suggest to clearly separate them as 3 different objects (as in the toolbar) with 3 own sets of properties (they might be very similar, but obviously logically not the same)
Regards,
In Servoy, they are unfortunatly handled nearly identical.
Harjo:
That’s the windows L&F doing that!
just unselect the showClick, on the property of the button, and your done!