12-09-2016, 12:50 AM
The Select Video Device, and Select Video Source dialogs work great in the Design tab.
When the application is running, cdVideoCapture and cdVideoCapturePin are the only available dialogs.
Is there a way to have these dialogs available when the application is running?
Alternatively, is there a control/property/function that returns the available video devices (you know, I'm going to ask for audio devices next) that I could put in a list for the user to select?
Current Code:
Delphi, XE5, VCL 6.0.0.283 Labs....
Thanks!!!
When the application is running, cdVideoCapture and cdVideoCapturePin are the only available dialogs.
Is there a way to have these dialogs available when the application is running?
Alternatively, is there a control/property/function that returns the available video devices (you know, I'm going to ask for audio devices next) that I could put in a list for the user to select?
Current Code:
Code:
procedure TForm1.btnShowDialogClick(Sender: TObject);
var
myVideoDialogs : VLDSCapture.TVLDSCaptureDialogs;
begin
myVideoDialogs := VLDSCapture1.AvailableVideoDialogs;
VLDSCapture1.ShowVideoDialog(VLDSCapture.TVLDSCaptureDialog.cdVideoCapture);
end;
Delphi, XE5, VCL 6.0.0.283 Labs....
Thanks!!!