/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:36:53.21
*/
gx.evt.autoSkip=!1;gx.define("hteste10",!1,function(){var t,n;this.ServerClass="hteste10";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.autoRefresh=!0;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.e13fz1_client=function(){return this.clearMessages(),this.addMessage("Imagem atual: "+this.IMAGEGALLERY1Container.SelectedImageId),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e14fz1_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e15fz2_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];t=this.GXValidFnc;this.GXCtrlIds=[2,5,7];this.GXLastCtrlId=7;this.IMAGEGALLERY1Container=gx.uc.getNew(this,9,0,"ImageGallery","IMAGEGALLERY1Container","Imagegallery1","IMAGEGALLERY1");n=this.IMAGEGALLERY1Container;n.setProp("Class","Class","","char");n.setProp("Enabled","Enabled",!0,"boolean");n.setProp("Width","Width",300,"str");n.setProp("Height","Height","500","str");n.setProp("Type","Type","table","str");n.setProp("SelectedImageId","Selectedimageid","","char");n.setProp("LoadingImage","Loadingimage","","str");n.setDynProp("ThumbnailWidth","Thumbnailwidth","100","str");n.setDynProp("ThumbnailHeight","Thumbnailheight","100","str");n.setProp("Rows","Rows",0,"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","5px","str");n.setProp("CellPad","Cellpad","5px","str");n.setProp("ResizeSpeed","Resizespeed",5,"num");n.addV2CFunction("AV5imagesData","vIMAGESDATA","SetImages");n.addC2VFunction(function(n){n.ParentObject.AV5imagesData=n.GetImages();gx.fn.setControlValue("vIMAGESDATA",n.ParentObject.AV5imagesData)});n.setProp("Visible","Visible",!0,"bool");n.setC2ShowFunction(function(n){n.show()});n.addEventHandler("ImageChanged",this.e13fz1_client);this.setUserControl(n);t[2]={id:2,fld:"TABLE1",grid:0};t[5]={id:5,fld:"BUTTON1",grid:0,evt:"e14fz1_client",std:"ENTER"};t[7]={id:7,fld:"TEXTBLOCK1",format:0,grid:0};this.AV5imagesData=[];this.Events={e14fz1_client:["ENTER",!0],e15fz2_client:["CANCEL",!0],e13fz1_client:["IMAGEGALLERY1.IMAGECHANGED",!1]};this.EvtParms.REFRESH=[[],[]];this.EvtParms.START=[[{av:"AV5imagesData",fld:"vIMAGESDATA",pic:""}],[{av:"this.IMAGEGALLERY1Container.ThumbnailHeight",ctrl:"IMAGEGALLERY1",prop:"ThumbnailHeight"},{av:"this.IMAGEGALLERY1Container.ThumbnailWidth",ctrl:"IMAGEGALLERY1",prop:"ThumbnailWidth"},{av:"AV5imagesData",fld:"vIMAGESDATA",pic:""}]];this.EvtParms["IMAGEGALLERY1.IMAGECHANGED"]=[[{av:"this.IMAGEGALLERY1Container.SelectedImageId",ctrl:"IMAGEGALLERY1",prop:"SelectedImageId"}],[]];this.EnterCtrl=["BUTTON1"];this.Initialize()});gx.setParentObj(new hteste10)