ALTADataSet.Question

From ReliaWiki
(Redirected from ALTAEvents.Question)
Jump to navigation Jump to search
APIWiki.png


Member of: SynthesisAPI.ALTADataSet

DRAFT GRAY.png

WORK IN PROGRESS
ALTADataSet.Question

DRAFT GRAY.png

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).