/*!   GeneXus C# 16_0_9-140712 on 4/17/2024 13:25:13.40
*/
gx.evt.autoSkip=!1;gx.define("webteste1",!1,function(){var t,n;this.ServerClass="webteste1";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.autoRefresh=!0;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV10ParmNroDocumento=gx.fn.getIntegerValue("vPARMNRODOCUMENTO",".")};this.e15d71_client=function(){return this.clearMessages(),this.addMessage("Current image is "+this.IMAGEGALLERY1Container.SelectedImageId),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e13d72_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e16d72_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];t=this.GXValidFnc;this.GXCtrlIds=[3,6,9,14];this.GXLastCtrlId=14;this.IMAGEGALLERY1Container=gx.uc.getNew(this,17,0,"ImageGallery","IMAGEGALLERY1Container","Imagegallery1","IMAGEGALLERY1");n=this.IMAGEGALLERY1Container;n.setProp("Class","Class","","char");n.setProp("Enabled","Enabled",!0,"boolean");n.setProp("Width","Width",1e3,"str");n.setProp("Height","Height","3000","str");n.setProp("Type","Type","table","str");n.setProp("SelectedImageId","Selectedimageid","","char");n.setProp("LoadingImage","Loadingimage","","str");n.setProp("ThumbnailWidth","Thumbnailwidth","200","str");n.setProp("ThumbnailHeight","Thumbnailheight","500","str");n.setProp("Rows","Rows",3,"num");n.setProp("Columns","Columns",3,"num");n.setProp("BorderWidth","Borderwidth","0","str");n.setProp("Border_Color","Border_color",gx.color.fromRGB(0,0,0),"color");n.setProp("BackgroundImage","Backgroundimage","","str");n.setProp("CellSpace","Cellspace","","str");n.setProp("CellPad","Cellpad","","str");n.setProp("ResizeSpeed","Resizespeed",7,"num");n.addV2CFunction("AV8imagesData","vIMAGESDATA","SetImages");n.addC2VFunction(function(n){n.ParentObject.AV8imagesData=n.GetImages();gx.fn.setControlValue("vIMAGESDATA",n.ParentObject.AV8imagesData)});n.setProp("Visible","Visible",!0,"bool");n.setC2ShowFunction(function(n){n.show()});n.addEventHandler("ImageChanged",this.e15d71_client);this.setUserControl(n);t[3]={id:3,fld:"TEXTBLOCK1",format:0,grid:0};t[6]={id:6,fld:"TABLE1",grid:0};t[9]={id:9,fld:"BUTTON1",grid:0,evt:"e13d72_client",std:"ENTER"};t[14]={id:14,fld:"TABLE2",grid:0};this.AV8imagesData=[];this.AV10ParmNroDocumento=0;this.Events={e13d72_client:["ENTER",!0],e16d72_client:["CANCEL",!0],e15d71_client:["IMAGEGALLERY1.IMAGECHANGED",!1]};this.EvtParms.REFRESH=[[],[]];this.EvtParms.START=[[{av:"AV9imagesDataItem",fld:"vIMAGESDATAITEM",pic:""},{av:"AV8imagesData",fld:"vIMAGESDATA",pic:""}],[{av:"AV9imagesDataItem",fld:"vIMAGESDATAITEM",pic:""},{av:"AV8imagesData",fld:"vIMAGESDATA",pic:""}]];this.EvtParms["IMAGEGALLERY1.IMAGECHANGED"]=[[{av:"this.IMAGEGALLERY1Container.SelectedImageId",ctrl:"IMAGEGALLERY1",prop:"SelectedImageId"}],[]];this.EvtParms.ENTER=[[{av:"AV6NroDois",fld:"vNRODOIS",pic:"ZZZ9"},{av:"AV5NroUm",fld:"vNROUM",pic:"ZZZ9"},{av:"AV7NroTres",fld:"vNROTRES",pic:"ZZZ9"}],[]];this.EnterCtrl=["BUTTON1"];this.setVCMap("AV10ParmNroDocumento","vPARMNRODOCUMENTO",0,"int",6,0);this.Initialize()});gx.setParentObj(new webteste1)