DefaultReply Tag

ClosedDescription

Sets the default reply for the query prompt.

ClosedSyntax

<DefaultReply>Value</DefaultReply>

Where Value can be set to the appropriate default reply text.

ClosedParent Tag

<QueryPrompt>

ClosedRemarks

The <DefaultReply> tag sets the default reply for a query prompt. The default reply is the text that will be displayed in the edit box of the query prompt.

<DefaultReply> is an optional tag that is used with the <Print>, <FormatSetup>, and <ExportPrintPreviewToImage> commands when the <QueryPrompt> tag is included in the script.

ClosedExample

<?xml version="1.0" encoding="utf-8"?>

<XMLScript Version="2.0" Name="09232006_103601_Job1" ID="123">

<Command Name="Job1">

<Print>

<Format>Label1.btw</Format>

<QueryPrompt Name="Zip">

<DefaultReply>98296</DefaultReply>

<UserPrompt>Enter Zip Code</UserPrompt>

</QueryPrompt>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and later versions)

Related Topics