I need to programatically add several children to an existing UIElement, through this code:
for (i=0;i<numChoices;i++){
Text@ t =Text();
t.text = choices[i];
dlgWindow.AddChild(t);
}
But the children arent displayed. I tried creating an array of Text@, but that didnt worked neither.