revdev at pdslabs.net
Mon Nov 27 13:36:23 CST 2006
If you really *really* need it to be as you describe below, you can always fake
it with images.
- set the lookAndFeel to Motif
- use 'import snapshot' to make images of your target button in all the required
states - enabled, disabled, hilited, etc.
- set the lookAndFeel back to whatever it was at first.
- make the button itself transparent and use your new images as its various
It's a little clunky but it works, for 'pushbutton' buttons at least.
> Is it possible to set the lookAndFeel of a single object to something
> different than the preference setting?
> In other words, if you wanted a stack to have the lookAndFeel of the
> native OS, but one button to have the lookAndFeel to "Motif", can it be
> set the lookAndFeel of btn "testButton" of cd 1 of stack "Uno" to "Motif"
> The above failed. I am assuming it isn't possible, but there's always
> the hope :-D
More information about the use-livecode