QuestionGroupLeaf class

From Catglobe Wiki
Revision as of 11:48, 25 April 2022 by Administrator (talk | contribs)
Jump to: navigation, search

QuestionGroupLeaf


Question group leaf.

Parent class

Inherits from QuestionGroupTree

Constructors

Methods

  • Array of String GetQuestions() - Return label of questions in group
  • Empty SetQuestions(Array of String labels "Question labels") - Set questions in group by their label
  • (From object) string ToString() - The string representation of the object.

Properties


Examples

QuestionGroupLeaf is returned when calling QuestionGroupRoot_class

number qnaireRId = 15644704;
QuestionGroupRoot root = Questionnaire_getQuestionGroups(qnaireRId);
QuestionGroupLeaf leaf = root.FindByQuestion("Q1");
print(leaf.GroupName);//G2