IUserAccessiableSetTopicTextFormat Method |
Relevant for grid questions only.
Will set a text object by using piping methods into one place holder or more in the relevant topic
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax void SetTopicTextFormat(
int inQuesIdx,
int inTopicIdx,
params DVar[] inValues
)
Parameters
- inQuesIdx
- Type: SystemInt32
Target question index - inTopicIdx
- Type: SystemInt32
Target topic index - inValues
- Type: SurveyToGo.UserLogic.InterfacesDVar
One text object or more - if more, seperate with a comma
Return Value
Type:
None
Examples If we have a Grid question indexed 4, and we would like to pipe text into topic number 2,
by having place holder in it ({0}) , we can use this function
as follows: SetTopicTextFormat(QRef(4),2,"just a test text",);
it will pipe the text we wrote into the place holder
See Also