Click or drag to resize
IUserAccessiableSetTopicVisible Method (Int32, Boolean, Boolean, Int32)
Relevant mainly for Questions that have topics included. This function hides or shows the topics in inArray based on the inShow value. false will hide them and true will make them visible. The inReset will perform the complimentary action to inShow to all topics if set to true: if inShow is set to true and inReset is set to true all topics 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 SetTopicVisible(
	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 topics

Return Value

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