ALTADataSet.Question
Jump to navigation
Jump to search
Member of: SynthesisAPI.ALTADataSet
Occurs when an answer to a question is required. Displays a message box with yes and no options.
Remarks: To hide the messages or write your own code for the event procedure, set the UseEvents
property of the object to True. The event is raised by the class methods.
Syntax
_Question(msg, Buttons, ByRef Answer)
Parameters
sMsg
- Required. String. The message to display.
Buttons
- Required. The buttons to display when calling Visual Basic's MsgBox function. Can be any MsgBoxStyle constant (see Microsoft's reference documentation for this enum).
Answer
- Required. Indicates which button was pressed on a message box returned by Visual Basic's MsgBox function. Can be any MsgBoxResult constant (see Microsoft's reference documentation for this enum).