This object is used when CAPTUREit needs to prompt the user for prompting document controls during the OnPromptingControl event.
To set the prompting control values, open the Edit Capture Profile window and click the Output-ASCII tab. In the Configure Output Records section, click one of the Batch Header Record, Image Record or Document Set Record buttons to set up a user prompt. The prompts, values and masks can be accessed via the Line method.
To determine which line a particular prompt is, assign a PromptID to the prompting control. Using the PromptID, you can use the GetLineIndex method to get the prompting control's line index. This PromptID value is assigned when you created the prompting control.
This object is only valid when used in the OnPromptingControl event.
Property |
Type |
Read Only/Write |
Description |
---|---|---|---|
Count |
Number |
Read Only |
Number of prompts in the Prompting Control window. |
ModalResult |
Number |
Read Only |
Result of the DoModal method. This can be vbOk or vbCancel |
DisplayDialogFlag |
Boolean |
Read Write |
Determines if CAPTUREit displays the Prompting Control window. |
DisplayEditCharacters |
Number |
Read Write |
The width of the edit boxes for the Prompting Control window. |
Title |
String |
Read Write |
Prompting Control window title |
Method |
Return Type |
Parameters |
Description |
---|---|---|---|
Line(nIndex) |
Object |
nIndex as Number |
Returns the corresponding PromptingControlLine object. |
GetLineIndex(PromptID) |
Number |
PromptID assigned |
Returns the corresponding line index of the associated PromptID. To reference a barcode line, the ID is "BCR_#"; the number refers to the barcode value. For instance, "BCR_2" refers to the second barcode value. |
DoModal |
Displays the Prompting Control Number window. |
||
ClearAllLists |
Clears all drop down list values |