Click or drag to resize
IUserAccessiableSetAnswerVisible Method (Int32, Boolean, Boolean, Int32)
Relevant mainly for Questions that have no topics included. For those use SetTopicVisible This function hides or shows the answers in inArray based on the inShow value. false will hide them and true will make them visible. The inReset will perform the comlimentary action to inShow to all answers if set to true: if inShow is set to true and inReset is set to true all answers will become hiden before the inArray ones are shown and vice versa.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
void SetAnswerVisible(
	int inQuesIdx,
	bool inShow,
	bool inReset,
	params int[] inArray
)

Parameters

inQuesIdx
Type: SystemInt32
Index of question
inShow
Type: SystemBoolean
true/false
inReset
Type: SystemBoolean
true/false
inArray
Type: SystemInt32
Indexes of answers

Return Value

Type: 
Examples
SetAnswerVisible(Qref(5), true, true, 2, 3) will hide all answers in question 5 then make answers 2 and 3 visible.
See Also