Page 1 of 1
change option button and combobox
Posted: Mon Jul 11, 2016 3:43 pm
by Rob van der Sloot
I haven't been able sofar to change the backgroundcolor of an option button or a combobox.
If I do "set the beackgroundcolor of button "Combobox" , nothing happens.
Please help,
Rob van der Sloot
Re: change option button and combobox
Posted: Mon Jul 11, 2016 4:44 pm
by Klaus
Dag Rob,
I'm afraid this explanation also covers your current problem:
http://forums.livecode.com/viewtopic.php?f=8&t=25452
Best
Klaus
Re: change option button and combobox
Posted: Mon Jul 11, 2016 5:50 pm
by richmond62
A long time ago in another Universe: well,
Metacard, there was an option to have
various effects such as fake Windows, something called
'Motif' (pug-ugly early Linux thing),
and so on. I wonder if it is not possible to build things into
Livecode in such a way that
they over-ride both the underlying window manager (OS) and the need to roll one's own.
c.f.
http://runtime-revolution.278305.n4.nab ... 15982.html
Sorry; having cracked open
Metacard I may be wrong; possibly that was
Livecode (the IDE
previously known as
Prince (has to be
Purple), err,
Runtime Revolution) at version 1.1.1.
Re: change option button and combobox
Posted: Mon Jul 11, 2016 6:03 pm
by Klaus
Hi Richmond,
MetaCard HAD the "lookandfeel" property (hey, they invented it!

), but not in a menu in the IDE.
And LC 8.x still suppports this property, but not in the IDE menus anymore.
Best
Klaus
Re: change option button and combobox
Posted: Mon Jul 11, 2016 6:21 pm
by richmond62
Hi,
Klaus
Well, it might be time for
Livecode to make more of it . . . .
Certainly, as I have always tried to ensure my stuff looks the same regardless of which
operating system with whatever
window manager it runs any extra help is always welcome.
Frankly a bit tired of having to take
snapshots of every button the way I want them to ensure that
when I move a stack from Mac > Win > Lin or any other move things look 100% the same.
Fresh from the Dictionary: "set the lookAndFeel to {"Appearance Manager"|Macintosh|Motif|"Windows 95"}"
Err . . . Windows 95 . . . slight case of Retro Chique Je pense.
Presumably 'Macintosh' means Mac OS 8.1 ?
Re: change option button and combobox
Posted: Mon Jul 11, 2016 6:26 pm
by Klaus
Since the "lookandfeel" is not part of the menus in the LC IDE anymore, I think this will completely disappear in the (near) future.
But maybe LC will "pimp" the new "theme" property more in the future!?
Re: change option button and combobox
Posted: Mon Jul 11, 2016 6:34 pm
by richmond62
Re: change option button and combobox
Posted: Mon Jul 11, 2016 6:37 pm
by Klaus
Oh, behaaaave!

Re: change option button and combobox
Posted: Tue Jul 12, 2016 8:49 am
by Rob van der Sloot
Hi Klaus,
Thanks for the information.
I am an old Filemaker programmer, and thereby I am a bit spoiled with ready made solutions.
But I like LC much more then Filemaker.
So now I know which I already felt intuitively, that I have to create my own combobox and option menu to be able to change the colors.
All the best,
Rob
Hartelijk dank
Re: change option button and combobox
Posted: Tue Jul 12, 2016 4:21 pm
by FourthWorld
I can envision circumstances where this could be useful - I've submitted a request for it:
http://quality.livecode.com/show_bug.cgi?id=18005