|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi all,
im new here and this is my first post, i was just wondering how i save what ever is in a picture box at a given time. for example i want to have a giff playing and when a user clicks a button the frame showed will be captured. pls help thanks |
|
#2
|
||||
|
||||
|
Do you mean a TImage. If so, you can use TImage.Picture.Bitmap.Assign to assign another TBitmap image to your TImage component.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month |
|
#3
|
|||
|
|||
|
mmm......it is a timage (picturebox)
but im not sure how that will help me. pls gve an example of how to use it. Thanks |
|
#4
|
|||
|
|||
|
does anyone actualy help in these forums?
i mean this has been here for like a week now with no input. Ohwell, guess i will have to find help somewhere else |
|
#5
|
|||
|
|||
|
lol,
thses truly are the worst forums ever |
|
#6
|
||||
|
||||
|
Heh, was away on vacation. By the way, did you even bother to read the help file or do any research? How hard is it to do:
Code:
procedure TForm1.Button1Click(Sender: TObject);
begin
Image2.Picture.Assign(Image1.Picture);
Image2.Picture.SaveToFile('C:\foo.gif');
end;
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Delphi Programming > saving an image/anything in a picturebox |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|