Click or drag to resize
IUserAccessiableAsk Method (DVar, eAskButtons)
Will prompt a question to the surveyor, according to the given values. It’s answer data is not saved. Valid only for PC Surveyor

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
eAskResult Ask(
	DVar inPrompt,
	eAskButtons inButtons
)

Parameters

inPrompt
Type: SurveyToGo.UserLogic.InterfacesDVar
The text to prompt
inButtons
Type: SurveyToGo.UserLogic.InterfaceseAskButtons
gets a numeric system value that determines the possible answers: OKCancel 0 YesNoCancel 1 YesNo 2

Return Value

Type: eAskResult
Examples
Ask(“Are you hungry?”,2); Will prompt a question to the surveyor asking “Are you hungry?” with answers Yes\No. and will return the answer code according to this list: None 0 OK 1 Yes 2 No 3 Cancel 4
See Also