Hello all,
I have 3 choice sections. The sections cannot be changed because I get this from another system.
1. choice group:
<ParameterDefaultValue>
<choice>
<FloatValue/>
<IntegerValue/>
<StringValue/>
</choice>
</ParameterDefaultValue>
2. choice group:
<ParameterLowerLimit>
<choice>
<FloatValue/>
<IntegerValue/>
<StringValue/>
</choice>
</ParameterLowerLimit>
3. choice group:
<my:ParameterUpperLimit>
<choice>
<FloatValue/>
<IntegerValue/>
<StringValue/>
</choice>
</ParameterUpperLimit>
There are 3 buttons "String", "Integer" and "Float". The user clicks a button and the special value of all 3 choice groups has to be shown.
In code I implement following in the "String" button event (the other buttons are similar):
thisXDocument.View.ExecuteAction("xReplace::replace", "StringValue_4074");
thisXDocument.View.ExecuteAction("xReplace::replace", "StringValue_4080");
thisXDocument.View.ExecuteAction("xReplace::replace", "StringValue_4086");
It comes an error:
"The specified varXmlToEdit value for the View.ExecuteAction call is not valid."
How can I set choice in choice group automatically?
Can anybody help me?
Thanks.