Jump to content

eduardosuruagy

uniGUI Subscriber
  • Posts

    829
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by eduardosuruagy

  1. _rsov_(O15,0);_rsov_(O19,0); O49=new Ext.window.Window({id:"O49_id",retfalse:{},onEsc:Ext.emptyFn,layout:"fit",title:"UniForm1",modal:true,closeToolText:"",maximizable:true,minimizable:true,resizable:true,icon:"/cache/boostro_exe/uUTMWhJDaH10718E7F1/favicon.ico",iconCls:"x-uni-icon-contain",uniFMask:{beforeclose:true},width:709,height:409,x:518,y:226});O49.nm="O49";_cdo_("UniForm1");UniForm1.ajxS=AjaxSuccess;UniForm1.ajxF=AjaxFailure;O49.rootObj=true;UniForm1.appRoot="/";_cdo_(null,O49,"window",UniForm1); O51=new Ext.form.Panel({id:"O51_id",border:false,uActive:false,tabItems:new Ext.util.MixedCollection(),layout:"absolute"});O51.nm="O51";_cdo_(null,O51,"form",UniForm1);O49.add(O51); O59=(function(P0){return Ext.xR("this="+P0.nm+""+_gv_(O51),O49,"beforeclose");});O59.nm="O59";O49.on("beforeclose",O59); O5A=(function(P0){_saf_(P0);return Ext.xR("this="+P0.nm+""+_gv_(O51),O49,"activate");});O5A.nm="O5A";O49.on("activate",O5A); O5B=(function(P0){return Ext.xR("this="+P0.nm+""+_gv_(O51),O49,"deactivate");});O5B.nm="O5B";O49.on("deactivate",O5B);O49.on("deactivate",function(f){_sdf_(f)}); O5C=new Ext.panel.Panel({id:"O5C_id",bodyBorder:false,html:"\x3Ctable border=\"0\" width=\"100%\" height=\"100%\"\x3E\x3Ctr\x3E\x3Ctd id=\"O5C_id_td\" style=\"color:#000000;text-align:center\"\x3EUniPanel1\x3C/td\x3E\x3C/tr\x3E\x3C/table\x3E",header:false,layout:"absolute",width:256,height:128,x:296,y:112});O5C.nm="O5C";_cdo_("UniPanel1",O5C,null,UniForm1); O64=new Object({});O64.nm="O64";_cdo_("UniBoostro1",O64,null,UniForm1);O51.add([O5C]);uniVars._loginFrm=null; O65=(function(P0,P1,P2){return Ext.xR("this="+P0.nm+"&w="+P1+"&h="+P2+""+_gv_(O51),O49,"resize");});O65.nm="O65";O49.on("resize",O65); O66=(function(P0,P1,P2){return Ext.xR("this="+P0.nm+"&x="+P1+"&y="+P2+""+_gv_(O51),O49,"move");});O66.nm="O66";O49.on("move",O66); O67=(function(P0){return Ext.xR("this="+P0.nm+""+_gv_(O51),O49,"maximize");});O67.nm="O67";O49.on("maximize",O67); O68=(function(P0){return Ext.xR("this="+P0.nm+""+_gv_(O51),O49,"minimize");});O68.nm="O68";O49.on("minimize",O68); O69=(function(P0){return Ext.xR("this="+P0.nm+""+_gv_(O51),O49,"restore");});O69.nm="O69";O49.on("restore",O69);O49.show("");O49.retfalse.beforeclose=1;_axy_(O49);O49.uniMask={ldMask:false,maskWaitData:false,maskUseMsg:true};O49.uniMask.targetObj=null;$( "#"+O5C.el.id ).addClass("O64_bootstro");$( "#"+O5C.el.id ).attr({"data-bootstro-width":"300px","data-bootstro-step":0,"data-bootstro-placement":"top","data-bootstro-content":"UniPanel"});bootstro.start(".O64_bootstro",{nextButtonText:"Next",prevButtonText:"Prev",finishButtonText:"Ok. I Got It.",stopOnBackdropClick:true,stopOnEsc:true,onComplete:function(p){ajaxRequest(O64, "onComplete", {Index: p.idx});},onExit:function(p){ajaxRequest(O64, "onExit", {Index: p.idx});},onStep:function(p){ajaxRequest(O64, "onStep", {Index: p.idx});}}); Gravar_2020_11_05_09_38_21_159.mp4
  2. I created a component and then opened the project, compiled it and when I run an error. Is correct?
  3. If you look at the video you will notice that the component accepts to enter an invalid date, accepts to enter it 03/11/2020123456789 See the year as it is. This only happens if the component is created at run time.
  4. Sorry for my insistence, but I couldn't get it to work, here is an example I did. DbGrid.rar
  5. I have an error when creating a TUniDateTimePicker at runtime, it lets me enter a date 11/1/2020123456789 I'm creating it this way: cDateTimePicker: = TUniDateTimePicker.Create (sbox); cDateTimePicker.Parent: = sbox; cDateTimePicker.TabStop: = True; cDateTimePicker.Name: = 'A' + formatfloat ('000', QryParametros1IFP_SEQ_PARAMETRO.asInteger); cDateTimePicker.Top: = TopTotal - 5; cDateTimePicker.Height: = Height; cDateTimePicker.Width: = SmallerWidth; cDateTimePicker.TabOrder: = _viOrder; cDateTimePicker.Font.Size: = Source; cDateTimePicker.ClearButton: = True; cDateTimePicker.Enabled: = (QryParametros1IFP_INATIVO.AsString <> 'S'); cDateTimePicker.ClientEvents.UniEvents.Add ( 'beforeInit = function beforeInit (sender, config)' # 13 # 10 '{' # 13 # 10 '// disable' + 'ar the tip that always' # 233 'shown when hovering over the' + 'ta)' # 13 # 10 'config.formatText =' # 39 # 39 ';' # 13 # 10 # 13 # 10 '// SET THE CORRECT DATE QUAND' + 'O TYPE WITHOUT O /' # 13 # 10 'config.altFormats = "dmY | d / m / Y | n / j / Y | n / j / y | m /' + 'j / y | n / d / y | m / j / Y | n / d / Y | dmy | dmY | d / m | dm | dm | dmy | dmY |' # 65279'd | Ymd | n- ' + 'j | n / j ";' # 13 # 10 '}'); Gravar_2020_11_01_10_34_51_469.mp4
  6. In this command can I pass which icon do I want to disable? UniDBGrid1.JSInterface.JSAssign ('isExcluded', [True]);
  7. I can't get it fixed on the grid I need to do this via code: if User.Exclude = False then False else true;
  8. Can I make the icon invisible? This via code, the form's onShow for example. I have a column with 3 icons, 1 = Preview 2 = Change 3 = Delete If my client is not allowed to delete I would like to make icon number 3 invisible, if he is not allowed to delete and change the record I have to disable icon number 2 and 3, you know?
  9. Via code how do I make an icon invisible? In the form show, I check if the user is allowed to delete the record, if he doesn't, I would like to make the icon invisible, as well as the other icons as well. The example you gave was based on a column value.
  10. Thank you, I'll put my doubt there ok !!
  11. Is it possible to make any button invisible? According to the user profile
  12. I'm using the grid's onClick, how can I use the OnColumnActionClick?
  13. Good morning, could someone help me please?
  14. I'm using the native component of the UniGridExcelExporter I'm using like this: UniDBGrid.Exporter.Exporter: = UniGridExcelExporter1; UniDBGrid.Exporter.Title: = Title; UniDBGrid.Exporter.IncludeGroups: = bIncludeGroups; UniDBGrid.Exporter.IncludeSummary: = bIncludeSummary; UniDBGrid.Exporter.Enabled: = True; UniDBGrid.Exporter.ExportGrid;
  15. Error when exporting grid to excel, Uso a versão 1.90.0.1537 var O6F2=new Object({type:"xlsx",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",title:"Movimentação do Caixa",fileName:"Export.xlsx"});O587.saveDocumentAs(O6F2);
  16. I have a similar problem, this time when I click on the grid's plus button to expand the line using dbgrid_RowExpand Gravar_2020_10_26_22_22_38_71.mp4
  17. Does anyone know the reason for the error? I use the newest version SigefWeb.dll: 00002CE8: 11:59:28 []:>--------------------------------------------------------------< SigefWeb.dll: 00002CE8: 11:59:28 []:Starting Server. Module Handle: 0000000000400000 SigefWeb.dll: 00002CE8: 11:59:28 [TUniServerModule]:Server First Init. SigefWeb.dll: 00002CE8: 11:59:28 [TUniHyperServer]:InitInterceptor SigefWeb.dll: 00002CE8: 11:59:28 [Transport.PoolSize]:516 SigefWeb.dll: 00002CE8: 12:01:06 [TUniHyperNode.Terminate]:Node #0 forcefully terminated. SigefWeb.dll: 00002CE8: 12:01:06 [PostInit]:Failed to initialize node: 0 SigefWeb.dll: 00002CE8: 12:01:06 []:Server Started. Module Handle: 0000000000400000 SigefWeb.dll: 0000258C: 12:01:18 [TUniHyperNode.Terminate]:Node #1 forcefully terminated. SigefWeb.dll: 0000258C: 12:01:18 [TUniHyperNodeManagerWorker]:Failed to initialize node: 1
  18. Once again I thank you very much for your help, thank you very much !!
  19. = 300 Você pode remover a linha acima. Não é mais usado. recycle_after_idle_seconds = 0 Para a linha acima, defina-o para o valor máximo permitido para uma sessão permanecer inativa. Por exemplo, 15 minutos (15x60 = 900 segundos)? Depende do design do seu aplicativo. Qual é a quantidade máxima de tempo em que um nó pode ficar ocioso? Defina-o com esse valor e o HyperServer destruirá esse nó se permanecer inativo por mais do que esse período. I will use the recycle_after_idle_seconds = 900 option because my session limit is 10 minutes. Is it okay if I leave this option recycle_after_idle_secs ?? I have to remove from several files there if it is not a problem for me it would be better.
×
×
  • Create New...