Hi all,
In context i have a node Color wiht one attribute ColorText.
I populate a dropdown element at run time with this code:ù
ISimpleTypeModifiable myTypeColore = wdThis.wdGetAPI().getContext().getModifiableTypeOf("Colore.ColoreText");
IModifiableSimpleValueSet valuesColore = myTypeColore.getSVServices().getModifiableSimpleValueSet();
valuesColore.put("green","green");
valuesColore.put("red","red");
valuesColore.put("yellow","yellow");
ColorDropDown.bindSelectedKey("Color.ColorText");
I want to set red(or another color) like default color, but i don't find the method that do this:
ColorDropDown.??????
Thanks
Andrea