ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 SELECT SOURCE COMPONENT TImageEnIO
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

wilton_rad

Brazil
1 Posts

Posted - Oct 29 2014 :  10:37:50  Show Profile  Reply
I'm having problems to set the active scanner when the machine has more than one source, the command below usually worked in version 4
now use the 5.1.1 and can not activate the correct scanner

I have a combobox with a list of scanners and use the following command

TfrmScanner.ComboBox1Change procedure (Sender: TObject);
begin
   ImageEnIO1.TWainParams.SelectedSource: = ComboBox1.ItemIndex;

end;

xequte

39144 Posts

Posted - Oct 29 2014 :  20:33:29  Show Profile  Reply
Hi

That should work fine assuming you filled the combo box with Twain sources.

Though you would be better to use the generic interface properties, as shown in the ImageAcquisition\AllAcquire demo.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: