Click or drag to resize
IUserAccessiableSetAnswerChoice Method
It will set the relevant answers in the specific topic with the corresponding values in inValues

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
bool SetAnswerChoice(
	int inQuesIdx,
	int inTopic,
	params DVar[] inValues
)

Parameters

inQuesIdx
Type: SystemInt32
The selected question index
inTopic
Type: SystemInt32
inValues
Type: SurveyToGo.UserLogic.InterfacesDVar
values to set

Return Value

Type: Boolean
True for succses setting the values false otherwise
Examples
For the commend: SetAnswerChoice(QRef(1),3,4,5,6) - the following code will set the answers 4,5 and 6 in the 3rd topic as selected
See Also