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 


Delphi questions...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Thu Jul 19, 2007 10:23 am    Post subject: Delphi questions... Reply with quote

How do I add options on Drop Down boxes?
i want Magican, Warrior, Bowman, Thief or begginer. ( Shocked lol)
and another 1 of: Scania, Bera, Broa, Windia, Khaini, Bellocan or Mardia Surprised

2nd question.. how do i add a picture and labels on button click?
i mean theyr not visible untill i click that button and theyr value is World.text value or Class.text value..?

started to learn delphi today Smile

edit: i also would like to do "Copy image" button like in simsgy's maple baloon =)

thx
Back to top
View user's profile Send private message
magicalimp
Expert Cheater
Reputation: 0

Joined: 03 Dec 2006
Posts: 105

PostPosted: Thu Jul 19, 2007 10:51 am    Post subject: Reply with quote

1. Combobox
2. Visible (True/False)
3. Look up TClipBoard
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Thu Jul 19, 2007 11:07 am    Post subject: Reply with quote

1. i know but when i open it i have no options... =\
2. i already done it by myself =D
3. this if for combobox?

edit:
i did the TClipBoard procdure and now what do i write so ill have new options?
Back to top
View user's profile Send private message
magicalimp
Expert Cheater
Reputation: 0

Joined: 03 Dec 2006
Posts: 105

PostPosted: Thu Jul 19, 2007 3:10 pm    Post subject: Reply with quote

In the properties of the combobox, go to Items.
Click the ... after (TStrings) and you should be able to modify them.
Read the selected String by doing ComboBox1.Text

To copy an image, just have a button do this:
Clipboard.Assign(Image1.Picture);

Image1.Picture can be any variety of images, such as:
TButton.Glyph or TBitmap

Make sure to add Clipbrd to the uses.
Back to top
View user's profile Send private message
malfunction
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Jan 2007
Posts: 1015
Location: http://www.behindthecorner.com/

PostPosted: Fri Jul 20, 2007 3:14 am    Post subject: Reply with quote

if u want buttons with pictures
use SpeedButtons (additional tab, with a lightning mark on them)
then look at the object inspector click at glyph, there should be 3 small dots click it... then a thing pops up, click load, choose ur pic, click ok

_________________
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Fri Jul 20, 2007 7:32 pm    Post subject: Reply with quote

magicalimp wrote:
In the properties of the combobox, go to Items.
Click the ... after (TStrings) and you should be able to modify them.
Read the selected String by doing ComboBox1.Text

To copy an image, just have a button do this:
Clipboard.Assign(Image1.Picture);

Image1.Picture can be any variety of images, such as:
TButton.Glyph or TBitmap

Make sure to add Clipbrd to the uses.

will it copy the label's text to?
cuz u saw my program, it tells the name, lvl, fame, guild etc...
like in simsgy's maple baloon or should i use something else so it'll copy instead a label?
edit:
it doesnt copy the labels...
so do i need top copy also the labels and would it work?

and thx

edit:
it doesnt work on the labels so i tried coping Label1.Label or Label1.Font and it doesnt work =\
Back to top
View user's profile Send private message
magicalimp
Expert Cheater
Reputation: 0

Joined: 03 Dec 2006
Posts: 105

PostPosted: Sat Jul 21, 2007 3:13 am    Post subject: Reply with quote

You can always use GetFormImage as a method to copy the whole form. Hmm... I'll try to find a way to copy only a selected part of it.
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Jul 21, 2007 6:17 pm    Post subject: Reply with quote

can i copy text from an edit box? or memo or something? i got an idea for a program that might work =)
i mean copying text as text and not like an image... is this possible?
Back to top
View user's profile Send private message
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