Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show the VLDSCapture SelectVideoDevice dialog at runtime?
12-09-2016, 12:50 AM
Post: #1
Show the VLDSCapture SelectVideoDevice dialog at runtime?
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:
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!!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Show the VLDSCapture SelectVideoDevice dialog at runtime? - jfisher - 12-09-2016 12:50 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)