HomeRegisterLog in
Share | 
 

 [AutoIt TuT] Color Change

View previous topic View next topic Go down 
AuthorMessage
Desu
Member
Member


Posts: 27
Rep: 0
Join date: 2010-09-30
Age: 17
Location: Office

PostSubject: [AutoIt TuT] Color Change   Thu Oct 14, 2010 3:19 pm

So, I've seen allot of people on there clients have the black background. You're like
YOU wrote:
How do they change the color? D:
Well, they use this.
Code:
GUISetBkColor(0)
Well, you can change it you're self. I mean. But, it has to be on the bottom of the gui. Example
Code:
GuiCreate("Sup?",268,257,637,331)
GUISetBkColor(0xb83f5d)
You should get like a pink-ish, red-ish color. Now, on the buttons, the same. Example:
Code:
$button1=GuiCtrlCreateButton("Example",10,233,50,20)
GUICtrlSetColor(-1, 0xFF68000)
On the button, you should get a orange colored button. Well, what if you want to change the font? Example:
Code:
GUICtrlSetFont(-1, 12, 800, 0, "Comic Sans Ms")
It can be any kind of font. Let's make font ed button and a colored gui, yes? Example:
Code:
GuiCreate("Colored gui",268,257,637,331)
GUISetBkColor(0xb83f5d)
$button1=GuiCtrlCreateButton("COLOR",10,210,150,40)
GUICtrlSetColor(-1, 0xFF68000)
GUICtrlSetFont(-1, 12, 800, 0, "Comic Sans Ms")
GuiSetState()
Now, you can change everything. But, that's just an example gui. Well, hoped that helped you.
Back to top Go down
http://www.programmingwish.net
MrJohn10210
Site Monster
Site Monster


Posts: 107
Rep: 3
Join date: 2010-09-30

PostSubject: Re: [AutoIt TuT] Color Change   Fri Nov 12, 2010 2:55 am

whenever i opened it, it closed straight away

________________________________________
Hello
Back to top Go down
Desu
Member
Member


Posts: 27
Rep: 0
Join date: 2010-09-30
Age: 17
Location: Office

PostSubject: Re: [AutoIt TuT] Color Change   Fri Nov 12, 2010 12:48 pm

MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.

________________________________________
Back to top Go down
http://www.programmingwish.net
MrJohn10210
Site Monster
Site Monster


Posts: 107
Rep: 3
Join date: 2010-09-30

PostSubject: Re: [AutoIt TuT] Color Change   Sat Nov 13, 2010 1:57 am

Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly

________________________________________
Hello
Back to top Go down
Desu
Member
Member


Posts: 27
Rep: 0
Join date: 2010-09-30
Age: 17
Location: Office

PostSubject: Re: [AutoIt TuT] Color Change   Sat Nov 13, 2010 10:41 am

MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.

________________________________________
Back to top Go down
http://www.programmingwish.net
MrJohn10210
Site Monster
Site Monster


Posts: 107
Rep: 3
Join date: 2010-09-30

PostSubject: Re: [AutoIt TuT] Color Change   Sat Nov 13, 2010 11:26 pm

Desu wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.
i give up lol

________________________________________
Hello
Back to top Go down
Apocalypse
Administrator
Administrator


Posts: 305
Rep: 10
Join date: 2010-09-30
Age: 19
Location: Indio CA

PostSubject: Re: [AutoIt TuT] Color Change   Sun Nov 14, 2010 12:29 pm

MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.
i give up lol
Quitters Never Win, and Winners Never Quit. so dont give up if you cant get it the first couple of times.

________________________________________

Back to top Go down
http://apocalypseforums.darkbb.com
MrJohn10210
Site Monster
Site Monster


Posts: 107
Rep: 3
Join date: 2010-09-30

PostSubject: Re: [AutoIt TuT] Color Change   Mon Nov 15, 2010 12:49 am

Apocalypse wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.
i give up lol
Quitters Never Win, and Winners Never Quit. so dont give up if you cant get it the first couple of times.
thx ill try again

________________________________________
Hello
Back to top Go down
Apocalypse
Administrator
Administrator


Posts: 305
Rep: 10
Join date: 2010-09-30
Age: 19
Location: Indio CA

PostSubject: Re: [AutoIt TuT] Color Change   Mon Nov 15, 2010 8:48 am

MrJohn10210 wrote:
Apocalypse wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.
i give up lol
Quitters Never Win, and Winners Never Quit. so dont give up if you cant get it the first couple of times.
thx ill try again
np. ^^

________________________________________

Back to top Go down
http://apocalypseforums.darkbb.com
MrJohn10210
Site Monster
Site Monster


Posts: 107
Rep: 3
Join date: 2010-09-30

PostSubject: Re: [AutoIt TuT] Color Change   Tue Nov 16, 2010 1:32 am

Apocalypse wrote:
MrJohn10210 wrote:
Apocalypse wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.
i give up lol
Quitters Never Win, and Winners Never Quit. so dont give up if you cant get it the first couple of times.
thx ill try again
np. ^^
still wont work

________________________________________
Hello
Back to top Go down
Apocalypse
Administrator
Administrator


Posts: 305
Rep: 10
Join date: 2010-09-30
Age: 19
Location: Indio CA

PostSubject: Re: [AutoIt TuT] Color Change   Tue Nov 16, 2010 8:48 am

MrJohn10210 wrote:
Apocalypse wrote:
MrJohn10210 wrote:
Apocalypse wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.
i give up lol
Quitters Never Win, and Winners Never Quit. so dont give up if you cant get it the first couple of times.
thx ill try again
np. ^^
still wont work
did u try creating a new project all over again and starting from scratch?

________________________________________

Back to top Go down
http://apocalypseforums.darkbb.com
MrJohn10210
Site Monster
Site Monster


Posts: 107
Rep: 3
Join date: 2010-09-30

PostSubject: Re: [AutoIt TuT] Color Change   Sun Nov 21, 2010 12:40 am

Apocalypse wrote:
MrJohn10210 wrote:
Apocalypse wrote:
MrJohn10210 wrote:
Apocalypse wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.
i give up lol
Quitters Never Win, and Winners Never Quit. so dont give up if you cant get it the first couple of times.
thx ill try again
np. ^^
still wont work
did u try creating a new project all over again and starting from scratch?
i will

________________________________________
Hello
Back to top Go down
MrJohn10210
Site Monster
Site Monster


Posts: 107
Rep: 3
Join date: 2010-09-30

PostSubject: Re: [AutoIt TuT] Color Change   Sun Nov 21, 2010 12:46 am

Apocalypse wrote:
MrJohn10210 wrote:
Apocalypse wrote:
MrJohn10210 wrote:
Apocalypse wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
When I do it, it's perfect for me.
i give up lol
Quitters Never Win, and Winners Never Quit. so dont give up if you cant get it the first couple of times.
thx ill try again
np. ^^
still wont work
did u try creating a new project all over again and starting from scratch?
WONT WORK!!!! Sad

________________________________________
Hello
Back to top Go down
 

[AutoIt TuT] Color Change

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» [color=cyan] clan section on forums [/color]
» [HELP] Change job
» The Change button?
» Possible Source Change
» Avaliability Change

Permissions in this forum:You cannot reply to topics in this forum
 :: Technology and Software :: Programming-
Free forum | © phpBB | Free forum support | Contact | Report an abuse | Free forums