Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeLatest imagesRegisterLog in

 

 [AutoIt TuT] Color Change

Go down 
3 posters
AuthorMessage
Desu
Member
Member
Desu


Posts : 27
Rep : 0
Join date : 2010-10-01
Age : 27
Location : Office

[AutoIt TuT] Color Change Empty
PostSubject: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptyThu Oct 14, 2010 6: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
MrJohn10210


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

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptyFri Nov 12, 2010 6:55 am

whenever i opened it, it closed straight away
Back to top Go down
Desu
Member
Member
Desu


Posts : 27
Rep : 0
Join date : 2010-10-01
Age : 27
Location : Office

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptyFri Nov 12, 2010 4: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
MrJohn10210


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

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptySat Nov 13, 2010 5:57 am

Desu wrote:
MrJohn10210 wrote:
whenever i opened it, it closed straight away
Maybe doing something wrong.
I copied The Code Excactly
Back to top Go down
Desu
Member
Member
Desu


Posts : 27
Rep : 0
Join date : 2010-10-01
Age : 27
Location : Office

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptySat Nov 13, 2010 2:41 pm

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
MrJohn10210


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

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptySun Nov 14, 2010 3:26 am

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
Back to top Go down
Apocalypse
Administrator
Administrator
Apocalypse


Posts : 306
Rep : 10
Join date : 2010-09-30
Age : 29
Location : Indio CA

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptySun Nov 14, 2010 4: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
https://apocalypseforums.darkbb.com
MrJohn10210
Site Monster
Site Monster
MrJohn10210


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

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptyMon Nov 15, 2010 4: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
Back to top Go down
Apocalypse
Administrator
Administrator
Apocalypse


Posts : 306
Rep : 10
Join date : 2010-09-30
Age : 29
Location : Indio CA

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptyMon Nov 15, 2010 12:48 pm

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
https://apocalypseforums.darkbb.com
MrJohn10210
Site Monster
Site Monster
MrJohn10210


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

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptyTue Nov 16, 2010 5: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
Back to top Go down
Apocalypse
Administrator
Administrator
Apocalypse


Posts : 306
Rep : 10
Join date : 2010-09-30
Age : 29
Location : Indio CA

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptyTue Nov 16, 2010 12:48 pm

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
https://apocalypseforums.darkbb.com
MrJohn10210
Site Monster
Site Monster
MrJohn10210


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

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptySun Nov 21, 2010 4: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
Back to top Go down
MrJohn10210
Site Monster
Site Monster
MrJohn10210


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

[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change EmptySun Nov 21, 2010 4: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
Back to top Go down
Sponsored content





[AutoIt TuT] Color Change Empty
PostSubject: Re: [AutoIt TuT] Color Change   [AutoIt TuT] Color Change Empty

Back to top Go down
 
[AutoIt TuT] Color Change
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 :: Technology and Software :: Programming-
Jump to:  
Create a forum on Forumotion | ©phpBB | Free forum support | Report an abuse | Forumotion.com