QAID # 2670 Published
Question / Problem:
How can I programmatically cancel the Create New Batch dialog box in the Scan module?
Answer / Solution:
You can cancel this in a Custom Panel. In the panel's ActionEvent function, there is a event named kfxOcxEventBatchCreating. If you trap this event and return a true value to the ActionEvent's Cancel Parameter, the Create New Batch dialog box will not display.
For information and an example about how to cancel an OCX Event, please see KB 6255 — How can I cancel an OCX event?