ZtVWeb.RepeatCtrl=function(form,id,name,h,y,w,x,n_rec){
  this.name=name;
  this.form=form;
  this.Ctrl=document.getElementById(id);
  this.form.Ctrl.style.height='';
  this.anchor='';
  this.topposition=y;
  this.minheight=h;
  this.n_rec=n_rec
  this.addToForm(this.form,this); //obbligatoria
  this.setCtrlPos(this.Ctrl,x,y,w,h,this.anchor,form.width,form.height);
  this.GetRecordNumber=function(){
    return this.n_rec;
  }
  this.getRenderHeight=function(){
    this.Ctrl.style.height=this.Ctrl.scrollHeight+'px';
    return this.Ctrl.offsetHeight
  }
  this.form.queueAdjustHeight(200);
}
ZtVWeb.RepeatCtrl.prototype=new ZtVWeb.StdControl;

