/*
               File: Hivg_lancamentos_pri
        Description: Lançamentos Primeira Página
             Author: GeneXus C# Generator version 10_0_4-23569
       Generated on: 10/13/2009 14:57:29.67
       Program type: Callable routine
          Main DBMS: mysql
*/
gx.evt.autoSkip = false;
function hivg_lancamentos_pri(CmpContext) {
   this.setObjectType("web");
   this.setCmpContext(CmpContext);
   this.hasEnterEvent = false;
   this.addKeyListener("5", '"RFR"');
   this.SetStandaloneVars=function()
   {
   }
   this.e160o2_client=function()
   {
      this.executeServerEvent("ENTER", true, arguments[0]);
      this.refreshServerOutputs([]);
   }
   this.e170o2_client=function()
   {
      this.executeServerEvent("CANCEL", true, arguments[0]);
      this.refreshServerOutputs([]);
   }
   this.GXValidFnc = [];
   this.GXCtrlIds=[11,14,15,18,24,30,36,43];
   this.GXLastCtrlId =43;
   this.Grid2Container = new gxgrid(this, 6,"WbpLvl6",21,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"hivg_lancamentos_pri",[],true,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false);
   this.Grid2Container.startRow("","","","","","");
   this.Grid2Container.startCell("","","","","","","","","","");
   this.Grid2Container.addSingleLineEdit(87,24,"POOLDET","","","pooldet","char",40,"chr",40,40,"right",null,[],87,"pooldet",true,0,false,false,0);
   this.Grid2Container.addHtmlCode("&nbsp; ");
   this.Grid2Container.addHtmlCode("<FONT size=\"2\">");
   this.Grid2Container.addHtmlCode("m² ");
   this.Grid2Container.addHtmlCode("</FONT>");
   this.Grid2Container.endCell();
   this.Grid2Container.endRow();
   this.Grid3Container = new gxgrid(this, 5,"WbpLvl5",27,"Grid3","Grid3","Grid3Container",this.CmpContext,this.IsMasterPage,"hivg_lancamentos_pri",[],true,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false);
   this.Grid3Container.startRow("","","","","","");
   this.Grid3Container.startCell("","","","","","","","","","");
   this.Grid3Container.addHtmlCode("<FONT size=\"2\">");
   this.Grid3Container.addSingleLineEdit(87,30,"POOLDET","","","pooldet","char",40,"chr",40,40,"right",null,[],87,"pooldet",true,0,false,false,0);
   this.Grid3Container.addHtmlCode("&nbsp;Dorm(s) ");
   this.Grid3Container.addHtmlCode("</FONT>");
   this.Grid3Container.endCell();
   this.Grid3Container.endRow();
   this.Grid4Container = new gxgrid(this, 4,"WbpLvl4",33,"Grid4","Grid4","Grid4Container",this.CmpContext,this.IsMasterPage,"hivg_lancamentos_pri",[],true,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false);
   this.Grid4Container.startRow("","","","","","");
   this.Grid4Container.startCell("","","","","","","","","","");
   this.Grid4Container.addHtmlCode("<FONT size=\"2\">");
   this.Grid4Container.addSingleLineEdit(87,36,"POOLDET","","","pooldet","char",40,"chr",40,40,"right",null,[],87,"pooldet",true,0,false,false,0);
   this.Grid4Container.addHtmlCode("&nbsp; Vaga(s) ");
   this.Grid4Container.addHtmlCode("</FONT>");
   this.Grid4Container.endCell();
   this.Grid4Container.endRow();
   this.Grid1Container = new gxgrid(this, 2,"WbpLvl2",3,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hivg_lancamentos_pri",[],true,5,true,true,0,false,false,false,"",750,"px","Novo registro",false,false,false);
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","top","","","","","","","");
   this.Grid1Container.startTable("Table1",6,"0px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addHtmlCode("&nbsp; ");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addHtmlCode("<P align=\"center\">");
   this.Grid1Container.addSingleLineEdit(73,11,"POOLBAIRRO","","","poolbairro","char",40,"chr",40,40,"right",null,[],73,"poolbairro",true,0,false,false,0);
   this.Grid1Container.addHtmlCode("</P>");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","top","","","","","","","");
   this.Grid1Container.addHtmlCode("<P align=\"center\">");
   this.Grid1Container.addBlob(82,14,"POOLFOTOPRINC","","poolfotoprinc","bitstr",0,91,120,"px","px",true,false);
   this.Grid1Container.addBitmap("&Imagem","_IMAGEM",15,120,"px",91,"px",null,"",1);
   this.Grid1Container.addHtmlCode("</P>");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addHtmlCode("<P align=\"center\">");
   this.Grid1Container.addSingleLineEdit(119,18,"TIPPDESC","","","tippdesc","char",18,"chr",18,18,"right",null,[],119,"tippdesc",true,0,false,false,0);
   this.Grid1Container.addHtmlCode("</P>");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","10px","","","","");
   this.Grid1Container.addGrid(this.Grid2Container);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addGrid(this.Grid3Container);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addGrid(this.Grid4Container);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","1px","","","","");
   this.Grid1Container.addHtmlCode("<P align=\"center\">");
   this.Grid1Container.startTable("Table2",39,"0px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addHtmlCode("<FONT size=\"2\" color=\"#ff0000\"><STRONG>R$ </STRONG></FONT>&nbsp; ");
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addSingleLineEdit(76,43,"POOLVALOR","","","poolvalor","decimal",14,"chr",14,12,"right",null,[],76,"poolvalor",true,2,false,false,0);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.addHtmlCode("</TBODY>");
   this.Grid1Container.endTable();
   this.Grid1Container.addHtmlCode("</P>");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.addHtmlCode("</TBODY>");
   this.Grid1Container.endTable();
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.setGrid(this.Grid1Container);
   this.GXValidFnc[11]={lvl:2,type:"char",len:40,dec:0,sign:false,pic:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"POOLBAIRRO",gxz:"Z73poolbai",gxold:"O73poolbai",gxvar:"A73poolbai",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.A73poolbai=Value},v2z:function(Value){_gxO.Z73poolbai=Value},v2c:function(){GXsetGridControlValue("POOLBAIRRO",gxCurrentGridRow(3),_gxO.A73poolbai,0)},c2v:function(){_gxO.A73poolbai=this.val()},val:function(){return GXgetGridControlValue("POOLBAIRRO",gxCurrentGridRow(3))},nac:function(){return  false }};
   this.GXValidFnc[14]={lvl:2,type:"bitstr",len:1024,dec:0,sign:false,pic:"",ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"POOLFOTOPRINC",gxz:"Z82poolfot",gxold:"O82poolfot",gxvar:"A82poolfot",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.A82poolfot=Value},v2z:function(Value){_gxO.Z82poolfot=Value},v2c:function(){},c2v:function(){_gxO.A82poolfot=this.val()},val:function(){return GXgetGridControlValue("POOLFOTOPRINC",gxCurrentGridRow(3))},nac:function(){return  false }};
   this.GXValidFnc[15]={lvl:2,type:"bits",len:4,dec:0,sign:false,pic:"XXXX",ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_IMAGEM",gxz:"ZV5imagem",gxold:"OV5imagem",gxvar:"AV5imagem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.AV5imagem=Value},v2z:function(Value){_gxO.ZV5imagem=Value},v2c:function(){},c2v:function(){_gxO.AV5imagem=this.val()},val:function(){return GXgetGridControlValue("_IMAGEM",gxCurrentGridRow(3))},nac:function(){return  false }};
   this.GXValidFnc[18]={lvl:2,type:"char",len:18,dec:0,sign:false,pic:"XXXXXXXXXXXXXXXXXX",ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TIPPDESC",gxz:"Z119tippde",gxold:"O119tippde",gxvar:"A119tippde",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.A119tippde=Value},v2z:function(Value){_gxO.Z119tippde=Value},v2c:function(){GXsetGridControlValue("TIPPDESC",gxCurrentGridRow(3),_gxO.A119tippde,0)},c2v:function(){_gxO.A119tippde=this.val()},val:function(){return GXgetGridControlValue("TIPPDESC",gxCurrentGridRow(3))},nac:function(){return  false }};
   this.GXValidFnc[24]={lvl:6,type:"char",len:40,dec:0,sign:false,pic:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",ro:1,grid:21,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"POOLDET",gxz:"Z87pooldet",gxold:"O87pooldet",gxvar:"A87pooldet",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.A87pooldet=Value},v2z:function(Value){_gxO.Z87pooldet=Value},v2c:function(){GXsetGridControlValue("POOLDET",gxCurrentGridRow(21),_gxO.A87pooldet,0)},c2v:function(){_gxO.A87pooldet=this.val()},val:function(){return GXgetGridControlValue("POOLDET",gxCurrentGridRow(21))},nac:function(){return  false }};
   this.GXValidFnc[30]={lvl:5,type:"char",len:40,dec:0,sign:false,pic:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",ro:1,grid:27,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"POOLDET",gxz:"Z87pooldet",gxold:"O87pooldet",gxvar:"A87pooldet",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.A87pooldet=Value},v2z:function(Value){_gxO.Z87pooldet=Value},v2c:function(){GXsetGridControlValue("POOLDET",gxCurrentGridRow(27),_gxO.A87pooldet,0)},c2v:function(){_gxO.A87pooldet=this.val()},val:function(){return GXgetGridControlValue("POOLDET",gxCurrentGridRow(27))},nac:function(){return  false }};
   this.GXValidFnc[36]={lvl:4,type:"char",len:40,dec:0,sign:false,pic:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",ro:1,grid:33,gxgrid:this.Grid4Container,fnc:null,isvalid:null,fld:"POOLDET",gxz:"Z87pooldet",gxold:"O87pooldet",gxvar:"A87pooldet",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.A87pooldet=Value},v2z:function(Value){_gxO.Z87pooldet=Value},v2c:function(){GXsetGridControlValue("POOLDET",gxCurrentGridRow(33),_gxO.A87pooldet,0)},c2v:function(){_gxO.A87pooldet=this.val()},val:function(){return GXgetGridControlValue("POOLDET",gxCurrentGridRow(33))},nac:function(){return  false }};
   this.GXValidFnc[43]={lvl:2,type:"decimal",len:12,dec:2,sign:true,pic:"ZZZ,ZZZ,ZZ9.99",ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"POOLVALOR",gxz:"Z76poolval",gxold:"O76poolval",gxvar:"A76poolval",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.A76poolval=GXtoDecimalValue(Value,',','.')},v2z:function(Value){_gxO.Z76poolval=GXtoDecimalValue(Value,'.',',')},v2c:function(){GXsetGridDecimalValue("POOLVALOR",gxCurrentGridRow(3),_gxO.A76poolval,2,',')},c2v:function(){_gxO.A76poolval=this.val()},val:function(){return GXgetGridDecimalValue("POOLVALOR",gxCurrentGridRow(3),'.',',')},nac:function(){return  false }};
   this.Z73poolbai = "";
   this.O73poolbai = "";
   this.Z82poolfot = "";
   this.O82poolfot = "";
   this.ZV5imagem = "";
   this.OV5imagem = "";
   this.Z119tippde = "";
   this.O119tippde = "";
   this.Z87pooldet = "";
   this.O87pooldet = "";
   this.Z76poolval = 0;
   this.O76poolval = 0;
   this.A1imobcod = 0;
   this.A40poolcod = 0;
   this.A85poolsta = "";
   this.A83poolcat = "";
   this.A76poolval = 0;
   this.A119tippde = "";
   this.A82poolfot = "";
   this.A73poolbai = "";
   this.A56tipcod = 0;
   this.A3campcod = 0;
   this.A87pooldet = "";
   this.A37codigoa = 0;
   this.A36codigov = 0;
   this.A35codigod = 0;
   this.VarControlMap["A1imobcod"] = {id:"IMOBCOD",type:"int"};
   this.Grid2Container.addRefreshingVar({rfrVar:"A1imobcod"});
   this.Grid3Container.addRefreshingVar({rfrVar:"A1imobcod"});
   this.Grid4Container.addRefreshingVar({rfrVar:"A1imobcod"});
   this.SetStandaloneVars( );
   this.ServerClass =  "Hivg_lancamentos_pri" ;
}
