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 


[Help] OpenPictureDialog Delphi

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
shlomivman
Cheater
Reputation: 0

Joined: 28 Dec 2006
Posts: 35

PostPosted: Thu Aug 02, 2007 9:58 am    Post subject: [Help] OpenPictureDialog Delphi Reply with quote

I need help with OpenPictureDialog on delphi7
I want to do for example I select a picture in the dialog and it's will show the image on the program
Thanks to helpers!
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Thu Aug 02, 2007 10:19 am    Post subject: Reply with quote

TImage component i belive.

Something like OpenPictureDialog.LoadFromFile(OpenPictureDialog.FileName)

Im not sure at all, but try it
Back to top
View user's profile Send private message MSN Messenger
shlomivman
Cheater
Reputation: 0

Joined: 28 Dec 2006
Posts: 35

PostPosted: Thu Aug 02, 2007 10:25 am    Post subject: Reply with quote

It's doesn't work...
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Thu Aug 02, 2007 10:29 am    Post subject: Reply with quote

try google it, it shouldn't be very diffrent from using the regular OpenDialog and SaveDialog .
Back to top
View user's profile Send private message MSN Messenger
Simsgy
Grandmaster Cheater
Reputation: 0

Joined: 07 May 2007
Posts: 581
Location: My new avatar <3

PostPosted: Thu Aug 02, 2007 10:31 am    Post subject: Reply with quote

Peace of caek.
Image1.Picture.Bitmap.LoadFromFile(OpenPictureDialog1.FileName);

Enjoy =]

_________________

Designer, WebMaster and a Delphi programmer.
TrPlayer, my biggest Delphi project hosted on SourceForge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25820
Location: The netherlands

PostPosted: Thu Aug 02, 2007 3:00 pm    Post subject: Reply with quote

component bar
openpicturedialog object and place on the forum

in the code:
if openpicturedialogname.execute then
begin
showmessage(openpicturedialogname.filename);
end;

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
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