Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to change button style? [Delphi]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Wed Sep 05, 2007 9:22 pm    Post subject: How to change button style? [Delphi] Reply with quote

Ok forget the other problem. Lol -.-
I need to know how to change the buttons from -
This


To This -

Thanks.


Last edited by Never Again on Fri Sep 07, 2007 9:37 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Sep 05, 2007 10:31 pm    Post subject: Reply with quote

Code:

if ((checkbox1.checked) and (radiobutton1.checked) and (checkbox4.checked)) then
begin
   //...
end;
Back to top
View user's profile Send private message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Thu Sep 06, 2007 1:34 am    Post subject: Reply with quote

appalsap wrote:
Code:

if ((checkbox1.checked) and (radiobutton1.checked) and (checkbox4.checked)) then
begin
   //...
end;


ifd if this work but it should =D

btw here is another way

IF Checkbox1.checked=true then
If RadioButton2.checked=true Then
If Checkbox4.checked=true THEN
form3.visible:=true
else
showmessage('Wrong, Try Again.');

_________________
dont complain about my english...
1*1 = 2?


Last edited by ups2000ups on Thu Sep 06, 2007 5:41 am; edited 1 time in total
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Thu Sep 06, 2007 4:11 am    Post subject: Reply with quote

youneed begin / ends after every then.

well the begins are after, ends aren't

do it appals way, its simpler


also noticed in your image in your sig you spelled "your" wrong

if you make a program(those are program dots >.>) and you say ur, you will look like a teenage boy who spends all his time on game forums and looking at porn.....oh wait XP

_________________
Back to top
View user's profile Send private message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Thu Sep 06, 2007 5:38 am    Post subject: Reply with quote

blankrider wrote:
youneed begin / ends after every then.

well the begins are after, ends aren't

do it appals way, its simpler


also noticed in your image in your sig you spelled "your" wrong

if you make a program(those are program dots >.>) and you say ur, you will look like a teenage boy who spends all his time on game forums and looking at porn.....oh wait XP




the script i posted work fine oO
stop telling befor you know anything noobass

and what have my sign to do with the thread lol ?

and befor you say something about me you should think about what ur saying lol ... show me ur best thing you ever made oO no need lol leeching others work xD

Quote:

IF Checkbox1.checked=true then //<<<< if checkbox = checked then look next sting

If RadioButton2.checked=true Then //<<<< if checkbox = checked then look next sting

If Checkbox4.checked=true THEN //<<<< if checkbox = checked then look next sting

form3.visible:=true // you dosent need begin if you only use 1 string after "then"
else // if you used more then 1 string you need to use "end else"

showmessage('Wrong, Try Again.');

_________________
dont complain about my english...
1*1 = 2?
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Fri Sep 07, 2007 3:12 pm    Post subject: Reply with quote

Thx guys, I appreaciate it =D. +Rep for Ups.
Back to top
View user's profile Send private message MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Fri Sep 07, 2007 4:51 pm    Post subject: Reply with quote

i made a ipod lookalike mp3 player(function ipod button wheel and such), and snapshot editor before i got bored with delphi

c++ is more fun, delphi is no challenge

too bad i just deleted the partition on my laptop to try and fix my harddrive :S

so i cant really post anything Confused

_________________
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Fri Sep 07, 2007 9:37 pm    Post subject: Reply with quote

Alright... I changed the question...
Back to top
View user's profile Send private message MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 07, 2007 11:13 pm    Post subject: Reply with quote

Idk, in delphi, I think that the different versions have different button styles. I mean like in my first delphi (2007 trial) it was cool buttons like yours. And now in delphi 7 SE its like the very ugly one. It just depends on version I think. But Ill be real glad if anyone shares the another way. I'd love to use it on my buttons in C++...
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Sep 07, 2007 11:44 pm    Post subject: Reply with quote

put an xp manifest (TXPManifest control) anywhere on the form

@oib111: to do it with C you need to embed an xp manifest (google) in a resource file and call InitCommonControlsEx.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 07, 2007 11:50 pm    Post subject: Reply with quote

Ok...or I can use like wxDev-Cpp with all its shiny buttons =)
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Sat Sep 08, 2007 12:59 am    Post subject: Reply with quote

well instead of buttons you can use images =/
_________________
dont complain about my english...
1*1 = 2?
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Sat Sep 08, 2007 5:09 am    Post subject: Reply with quote

I thought he meant manifesting...

google InitCommonControls (M$ says it's obsolete, but works) and InitCommonControlsEx.

_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Sat Sep 08, 2007 7:06 am    Post subject: Reply with quote

Thanks appal Very Happy
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites