Click or drag to resize
IUserAccessiableRandomizeTopics Method (Int32, Int32)
Releveant mainly for single choice grid questions. Display the topics of question inQuesIdx in a randomized order, according to the order determined in inRandomArray.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
void RandomizeTopics(
	int inQuesIdx,
	int[] inRandomArray
)

Parameters

inQuesIdx
Type: SystemInt32
question index
inRandomArray
Type: SystemInt32
integers Array is with size equals to the topics amount in inQuesIdx; each cell contains different topic index within inQuesIdx topics indexes

Return Value

Type: 
void
Examples
RandomizeAnswers(QRef(3), randomArray), will display the topics of question index 3 in a randomized order on screen, according to the order determined in randomArray, meaning: on screen, the first topic displayed will be the one that its index is in the first cell of randomArray; the second topic displayed will be the one that its index is in the second cell of randomArray, and so on.
See Also