Capture Frames Manually (Delphi 6.0)
This tutrolial teaches you how to capture frames manually.
1. |
Start with the project that you created in My First Capture. | |
2. |
Add button control to your form and name it as follows: | |
|
Name |
Caption |
|
btnCaptureFrame |
Capture Frame |
3. |
Update the btnStartCaptureClick procedure to be as follows: |
procedure TForm1.btnStartCaptureClick(Sender: TObject);
begin
ltmmCaptureCtrl1.StartCapture ( ltmmCapture_Mode_ManualFrames );
end;
4. |
Handle the btnCaptureFrame OnClick event, and code btnCaptureFrameClick procedure as follows: |
procedure TForm1.btnCaptureFrameClick(Sender: TObject);
begin
ltmmCaptureCtrl1.CaptureFrame ( );
end;
5. |
Run your program to test it. |