change option button and combobox

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Rob van der Sloot
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 78
Joined: Sat Apr 17, 2010 9:21 am

change option button and combobox

Post by Rob van der Sloot » Mon Jul 11, 2016 3:43 pm

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

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: change option button and combobox

Post by Klaus » Mon Jul 11, 2016 4:44 pm

Dag Rob,

I'm afraid this explanation also covers your current problem:
http://forums.livecode.com/viewtopic.php?f=8&t=25452


Best

Klaus

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: change option button and combobox

Post by richmond62 » Mon Jul 11, 2016 5:50 pm

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.

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: change option button and combobox

Post by Klaus » Mon Jul 11, 2016 6:03 pm

Hi Richmond,

MetaCard HAD the "lookandfeel" property (hey, they invented it! :D ), 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

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: change option button and combobox

Post by richmond62 » Mon Jul 11, 2016 6:21 pm

Hi, Klaus :P

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 ?
Last edited by richmond62 on Mon Jul 11, 2016 6:27 pm, edited 1 time in total.

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: change option button and combobox

Post by Klaus » Mon Jul 11, 2016 6:26 pm

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!?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: change option button and combobox

Post by richmond62 » Mon Jul 11, 2016 6:34 pm

Pimpmobile.jpg
Can't wait!

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: change option button and combobox

Post by Klaus » Mon Jul 11, 2016 6:37 pm

Oh, behaaaave! :D

Rob van der Sloot
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 78
Joined: Sat Apr 17, 2010 9:21 am

Re: change option button and combobox

Post by Rob van der Sloot » Tue Jul 12, 2016 8:49 am

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: change option button and combobox

Post by FourthWorld » Tue Jul 12, 2016 4:21 pm

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
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Windows”