I try to use TMSFNCWXCamera on Windows with VCL and want to select on of my two Cameras.
TMSFNCWXCamera1.devices.count is always 0 so i cant fill a ComboBox to select which device i want to use.
Is it possible to use more then one Cam in Windows ? and how to do this.
I try to fill a ComboBox with this code in Form.create
Cam.CameraType := wctSelected;
Cam.RequestDevices;
// Funktioniert nicht, da DeviceCount immer 0 ist
For i:= 0 to Cam.Devices.Count-1 Do
begin
cbbCamera.Items.Add(Cam.Devices.Items[i].Name);
end;
Are you filling the ComboBox from the OnCameraDevicesInitialized event? RequestDevices is an async process, so you can only fill your ComboBox from the OnCameraDevicesInitialized event.
The TMSFNCWXCamera Window shows always a vertical Drgagbar and i can move the CamPicture a bit up and down. Resizing the Window dont help. The vertical Dragbar is alwways there.