Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_InteractInteraction

Public Function ConfirmTwoStep (
FirstMsgString As String,
Optional ConfirmationMsgString As String = "" ,
Optional PrintAbandonMsg As Boolean = True
) As Boolean

Two step confirm. Present the first message in a Yes/No message box.
If the response is Yes, then present a confirmation message and get the user to type 'yes' for final confirmation
- if FirstMsgString="" then the first message will not be displayed (assume the caller has already done so)

FirstMsgString as String

The first Yes/No message

Optional ConfirmationMsgString as String = ""

The second confirmation message

Optional PrintAbandonMsg as Boolean = True

Notify if the action was abandoned in the second stage

Call Template:

Dim b As Boolean
b = xf.Interact.ConfirmTwoStep(FirstMsgString)
b = xf.Interact.ConfirmTwoStep(FirstMsgString, ConfirmationMsgString, PrintAbandonMsg)

See Also:

Example 1:

Dim b as Boolean
b = ConfirmTwoStep("Are you sure you want to delete the record", "", True)
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd