Hmm.. you have to assign text to the labelfields on creation complete not before that, the fllow will be like this
var vbox1: VBox= new VBox();
var sde:* = new searchDetails();
box1.label = "text";
Thanks for your reponse.. I am able to add the label for the tab but my problem is the content of tab is not visible.
What do you mean content of the tab is not visible... The question you have asked is very vague... There is no description on what is not visible is it the component or the data that is not visible. If it is just the data you should be debugging the code to see if the data is really coming or not...
Thanks.. I am able to solve this issue