Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / QUESTION ABOUT THE colorDialog() COMMAND IN BLUE GUI

Author
Message
Suzaku
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: I have no idea
Posted: 14th Feb 2005 01:47
Quote: "Return Value:
The colour which the user picked. This colour is the same format as the colour which the RGB() function returns."




That is what i have so far, but how can I use the colorDialog() command to return the red value as a, the green value as b, and the blue value as c?
I already tried something like
Quote: "
a,b,c=colorDialog()
or
colorDialog(a,b,c)
"


What am I doing wrong?
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 14th Feb 2005 02:39
Get the colour value back from colorDialog() then use RGBR(), RGBG() and RGBB() to split the colour value into seperate variables.

Quote: "this is not a quote"
Suzaku
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: I have no idea
Posted: 14th Feb 2005 07:27
Well I'm not sure i know how but I'll try!
Suzaku
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: I have no idea
Posted: 14th Feb 2005 07:34
Can someone please give me an example of what the_winch means when he says
Quote: "Get the colour value back from colorDialog() then use RGBR(), RGBG() and RGBB() to split the colour value into seperate variables."
Suzaku
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: I have no idea
Posted: 14th Feb 2005 07:38
Nevermind, I figured it out.

Thanks for the help the_winch!

Login to post a reply

Server time is: 2024-04-27 03:46:49
Your offset time is: 2024-04-27 03:46:49