N.Marzio
-
Posts
108 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by N.Marzio
-
-
-
-
Work only touch application?
TKs
-
OK thanks.
-
where can I find an example with this unimcarousel component? -
I get it.
If I have a modal form that contains a frame (containing a dbgrid), what happens when the modal form is closed?
Is the frame, also shared by other forms, available again?It happens to me that closing the modal form, and opening another non-modal form containing the same frame, the application raises an exception on the frame.
Can the problem be connected?
Thanks -
What difference is there between
if form.showModal = mrOK
and form.ShowModal (MyCallBack)?Tks
-
Sorry, but how can I find the error that generates this exception:
OAD.remove(O1D2,false);O1D2.hide();O56.add(O1D2);O1D2.hide();OAD.add(OF7); O3AA=new Ext.form.field.Text({id:"O3AA_id",name:"O3AA",enableKeyEvents:true,tabIndex:398,manualDestroy:true,width:"95%",emptyText:"Ricerca...",checkChangeBuffer:250,plugins:[Ext.create("Ext.ux.field.plugin.Clearable",{})]});O3AA.nm="O3AA";_cdo_("O3AA_C",O3AA,null,xFrmFile); O3AE=new Ext.form.field.Text({id:"O3AE_id",name:"O3AE",enableKeyEvents:true,tabIndex:397,manualDestroy:true,width:"95%",emptyText:"...",checkChangeBuffer:250,plugins:[Ext.create("Ext.ux.field.plugin.Clearable",{})]});O3AE.nm="O3AE";_cdo_("O3AE_C",O3AE,null,xFrmFile); O3B2=new Ext.form.field.Text({id:"O3B2_id",name:"O3B2",enableKeyEvents:true,tabIndex:396,manualDestroy:true,width:"95%",emptyText:"...",checkChangeBuffer:250,plugins:[Ext.create("Ext.ux.field.plugin.Clearable",{})]});O3B2.nm="O3B2";_cdo_("O3B2_C",O3B2,null,xFrmFile); O3B6=new Ext.form.field.Text({id:"O3B6_id",name:"O3B6",enableKeyEvents:true,tabIndex:401,manualDestroy:true,width:"95%",emptyText:"...",checkChangeBuffer:250,plugins:[Ext.create("Ext.ux.field.plugin.Clearable",{})]});O3B6.nm="O3B6";_cdo_("O3B6_C",O3B6,null,xFrmFile); O3BA=new Ext.form.field.Text({id:"O3BA_id",name:"O3BA",enableKeyEvents:true,tabIndex:400,manualDestroy:true,width:"95%",emptyText:"...",checkChangeBuffer:250,plugins:[Ext.create("Ext.ux.field.plugin.Clearable",{})]});O3BA.nm="O3BA";_cdo_("O3BA_C",O3BA,null,xFrmFile); O3BE=new Ext.form.field.Text({id:"O3BE_id",name:"O3BE",enableKeyEvents:true,tabIndex:399,emptyText:"..."});O3BE.nm="O3BE";_cdo_("O3BE_C",O3BE,null,xFrmFile);O124.hide();O116.removeAll(false);O174.removeAll(false);O116.add({id:"10",val:"SELEZIONA LA CATEGORIA..."});O174.add({id:"10",val:"0"});O174.add({id:"11",val:"45"});O116.add({id:"11",val:"Gestione Amministrativa"});O174.add({id:"12",val:"48"});O116.add({id:"12",val:"Multi"});O174.add({id:"13",val:"50"});O116.add({id:"13",val:"Certificazione Unica"});O174.add({id:"14",val:"52"});O116.add({id:"14",val:"Modello 770"});O174.add({id:"15",val:"53"});O116.add({id:"15",val:"Console"});O174.add({id:"16",val:"61"});O116.add({id:"16",val:"Parcellazione"});O174.add({id:"17",val:"66"});O116.add({id:"17",val:"Addizionali Comunali"});O174.add({id:"18",val:"67"});O116.add({id:"18",val:"Contratti Standard Paghe"});O174.add({id:"19",val:"68"});O116.add({id:"19",val:"Emens"});O174.add({id:"20",val:"69"});O116.add({id:"20",val:"Paghe"});O174.add({id:"21",val:"70"});O116.add({id:"21",val:"Manuale Paghe"});O174.add({id:"22",val:"71"});O116.add({id:"22",val:"Rilevazione Presenze"});O174.add({id:"23",val:"82"});O116.add({id:"23",val:"F24"});O174.add({id:"24",val:"86"});O116.add({id:"24",val:"Cost"});OF7.show("");OF7.retfalse.beforeclose=1;_axy_(OF7);OF7.uniMask={ldMask:false,maskWaitData:false,maskUseMsg:true};OF7.uniMask.targetObj=null;O112.tabIndex=395;O112.addToTab(3950);O13C.tabIndex=408;O13C.addToTab(4080);delete O13C_Cols;O13C.refreshColumnCache=true;O13C.discardColumns(); O3C2=new Ext.grid.column.Column({ogrid:O13C,sortable:false,dataIndex:"0",renderer:_rndcll_,rdonly:true,text:"Nr",align:"center",width:120,attr:"{fts:'font-size:16px'}",unEditable:true,items:[O3AA],fedit:O3AA,padding:"0 0 0 5"});O3C2.nm="O3C2";O3C2.on("afterrender",function(s){s.el.on("click",function(){O3C2.fedit.focus()})});O3AA.isFilter=true; O3CA=new Ext.grid.column.Column({ogrid:O13C,sortable:false,dataIndex:"1",renderer:_rndcll_,rdonly:true,text:"Tipo",width:160,attr:"{fts:'font-size:16px'}",unEditable:true,items:[O3AE],fedit:O3AE,padding:"0 0 0 5"});O3CA.nm="O3CA";O3CA.on("afterrender",function(s){s.el.on("click",function(){O3CA.fedit.focus()})});O3AE.isFilter=true; O3D2=new Ext.grid.column.Column({ogrid:O13C,sortable:false,dataIndex:"2",renderer:_rndcll_,rdonly:true,text:"File",width:200,attr:"{fts:'font-size:16px'}",unEditable:true,items:[O3B2],fedit:O3B2,padding:"0 0 0 5"});O3D2.nm="O3D2";O3D2.on("afterrender",function(s){s.el.on("click",function(){O3D2.fedit.focus()})});O3B2.isFilter=true; O3DA=new Ext.grid.column.Column({ogrid:O13C,sortable:false,dataIndex:"3",renderer:_rndcll_,rdonly:true,text:"Dimensioni",align:"right",width:140,attr:"{fts:'font-size:16px'}",unEditable:true,items:[O3B6],fedit:O3B6,padding:"0 0 0 5"});O3DA.nm="O3DA";O3DA.on("afterrender",function(s){s.el.on("click",function(){O3DA.fedit.focus()})});O3B6.isFilter=true; O3E2=new Ext.grid.column.Column({ogrid:O13C,sortable:false,dataIndex:"4",renderer:_rndcll_,rdonly:true,text:"Data",align:"center",width:140,attr:"{fts:'font-size:16px'}",unEditable:true,items:[O3BA],fedit:O3BA,padding:"0 0 0 5"});O3E2.nm="O3E2";O3E2.on("afterrender",function(s){s.el.on("click",function(){O3E2.fedit.focus()})});O3BA.isFilter=true; O3F2=new Object({id:"O3F2_id",buttonId:4,tooltip:"DownLoad",icon:"/cache/mysupportwebsrv_exe/res/__024E3BAC48F0454B4B3E9AB0.png"}); O3EA=new Ext.grid.column.Action({items:[O3F2],resizable:false,iconCls:"x-uni-action-cls",handler:function(view,row,col,item,e,rec){var rr=_getrno_(rec);if(rr==-1){return(_expnd_(O140,rec))}if(Ext.isNumber(item.buttonId)){_shf_(O13C);_src_(O143,row,-100,false,rec);O13C.fireEvent("actionclick",O3EA,item.buttonId,rr);}},editRenderer:_rndclldmy_,ogrid:O13C,sortable:false,dataIndex:"5",renderer:_rndcll_,rdonly:true,text:"Download",menuDisabled:true,align:"center",width:140,attr:"{fts:'font-size:16px'}",unEditable:true});O3EA.nm="O3EA";O3F2.nm="O3F2";_cdo_("DBGrid",O3F2,"ButtonItem4",fraGriglia);var O13C_Cols=[O3C2,O3CA,O3D2,O3DA,O3E2,O3EA];O13C.reconfigure(null,O13C_Cols);O13C.uniConfigColumns();O3C2.setElProp({"font-weight":"bold","font-size":"16px","text-align":"center"},null,0,null,null,"titleEl");O3CA.setElProp({"font-weight":"bold","font-size":"16px","text-align":"center"},null,0,null,null,"titleEl");O3D2.setElProp({"font-weight":"bold","font-size":"16px","text-align":"center"},null,0,null,null,"titleEl");O3DA.setElProp({"font-weight":"bold","font-size":"16px","text-align":"center"},null,0,null,null,"titleEl");O3E2.setElProp({"font-weight":"bold","font-size":"16px","text-align":"center"},null,0,null,null,"titleEl");O3EA.setElProp({"font-weight":"bold","font-size":"16px","text-align":"center"},null,0,null,null,"titleEl");O140.load({params:{options:0}});O176.tabIndex=404;O176.addToTab(4040);O17A.tabIndex=403;O17A.addToTab(4030);O17E.tabIndex=402;O17E.addToTab(4020);O182.tabIndex=407;O182.addToTab(4070);O186.tabIndex=406;O186.addToTab(4060);O18A.tabIndex=405;O18A.addToTab(4050);O3AA.addToTab(3980); O3F6=(function(P0,P1,P2){return Ext.xR("This="+P0.nm+"&newValue="+_xl_(P1)+"&oldValue="+_xl_(P2)+""+_gv_(OFF),O3AA,"change");});O3F6.nm="O3F6";O3AA.on("change",O3F6);O3AE.addToTab(3970); O3F7=(function(P0,P1,P2){return Ext.xR("This="+P0.nm+"&newValue="+_xl_(P1)+"&oldValue="+_xl_(P2)+""+_gv_(OFF),O3AE,"change");});O3F7.nm="O3F7";O3AE.on("change",O3F7);O3B2.addToTab(3960); O3F8=(function(P0,P1,P2){return Ext.xR("This="+P0.nm+"&newValue="+_xl_(P1)+"&oldValue="+_xl_(P2)+""+_gv_(OFF),O3B2,"change");});O3F8.nm="O3F8";O3B2.on("change",O3F8);O3B6.addToTab(4010); O3F9=(function(P0,P1,P2){return Ext.xR("This="+P0.nm+"&newValue="+_xl_(P1)+"&oldValue="+_xl_(P2)+""+_gv_(OFF),O3B6,"change");});O3F9.nm="O3F9";O3B6.on("change",O3F9);O3BA.addToTab(4000); O3FA=(function(P0,P1,P2){return Ext.xR("This="+P0.nm+"&newValue="+_xl_(P1)+"&oldValue="+_xl_(P2)+""+_gv_(OFF),O3BA,"change");});O3FA.nm="O3FA";O3BA.on("change",O3FA);O3BE.addToTab(3990);O170.tabIndex=409;O170.addToTab(4090);OA1.setText("Download");O112.originalValue=undefined;_sfv_(O112,0,"SELEZIONA...");O118.setText("Sezione Attuale : ......");O170.originalValue=undefined;_sfv_(O170,0,"0");
-
Work!!
Tks!!
- 1
-
Don't Work!
-
How is it possible to create a ClientEvent-> UniEvent on TUniButtons at Runtime?
I tried on the creation of the Form but it doesn't work ...
TMainForm.UniFormShow procedures (Sender: TObject);
begin
UniButton14.ClientEvents.UniEvents.AddPair ('beforeInit',
'function beforeInit (sender, config)'
+ '{'
+ 'config.baseCls = "btn"; '
+ 'config.cls = "btn-secondary"'
+ '}'
+ 'end; ');
end;While if I insert the codes to DesignTime it works perfectly.
Thanks
-
Perfect works!
Thanks! -
Last question...
It is possible to add a custom button?Tks!!
-
Ora Funziona correttamente!
-
-
The refresh function works!
While if I want to hide the refresh button at runtime it doesn't work
This is the code:DBGrid.ClientEvents.ExtEvents.Values ['show']: =
'function show (sender, eOpts)'
+ '{'
+ 'var me = sender; '
+ 'if (me.pagingBar) {'
+ 'me.pagingBar.getComponent ("refresh"). hide ()'
+ '}'
+ '}';Tks!
-
UniMainModule.EnableSynchronousOper ations was not active ...
Now works!
But by activating this switch
UniMainModule.EnableSynchronousOper ations: = True
what changes on the application, what are the benefits and what could be the limitations?Thank you.
-
Is it possible to intercept the refresh event of the grid pager indicated in the attached image?
Would it be possible to hide it? -
It works!
I would like something easy, but that's okay!Thank you!
-
The error also occurs with the component
it's at designTime on the form.This is the code
TMXUniGuiMsgParam = Record
Testo : String;
ShowLoader : Boolean;
BtnOkVisua : Boolean;
BtnOkTesto : String;
BtnCanVisua : Boolean;
BtnCanTesto : string;
InputVisua : Boolean;
InputValue : string;
InputType : TInputType;
SleepSecond : Integer;end;
procedure TxFrmBase.SweetMessage(var aParam: TMXUniGuiMsgParam);
var
FSweet : TUniSweetAlert;
begin
FSweet := TUniSweetAlert.Create(Self); // Actual Form
Try
FSweet.AlertType := TAlertType.atInfo;
FSweet.AllowEscapeKey := False;
FSweet.AllowOutsideClick := false;
FSweet.ShowCloseButton := False;
FSweet.ConfirmButtonText := aParam.BtnOkTesto;
FSweet.ShowConfirmButton := aParam.BtnOkVisua;
FSweet.CancelButtonText := aParam.BtnCanTesto;
FSweet.ShowCancelButton := aParam.BtnCanVisua;
FSweet.ShowLoaderOnConfirm:= aParam.ShowLoader;
FSweet.Title := aParam.Testo;
//
if aParam.InputVisua then begin
FSweet.InputType := ItText;
FSweet.InputValue := aParam.InputValue;
end
else
FSweet.InputType := ItNone;
//
//
// FSweet.show; <=== OK
//
if FSweet.Execute then begin <<<=============== Error Blocking
aParam.InputValue := FSweet.InputResult;
aParam.Result := mrOk;
end
else begin
aParam.InputValue := '';
aParam.Result := mrCancel;
end;
Finally
FSweet.Free;
End;procedure TxFrmBase.ButtonExecute(Sender : TObject);
var lPar : TMXUniGuiMsgParam;
begin
......
SweetMessage(lPar);
end;
-
No..
On Button Click
-
-
The cause may be because I'm using the demo version?
Tks
-
Good morning,
I'm continuing to test the various components and today I ran into this error:
Blocking method Exceute () could not be calledRunning the demo project sweeta (UnisweetAlert) works ...
What could be the problem?
This is the Code:
Try
FSweat.AlertType: = GetAlertType (FParam.Tipo);
FSweat.AllowEscapeKey: = False;
FSweat.AllowOutsideClick: = false;
FSweat.ShowCloseButton: = False;
FSweat.ConfirmButtonText: = FParam.BtnOkTesto;
FSweat.ShowConfirmButton: = FParam.BtnOkVisua;
FSweat.CancelButtonText: = FParam.BtnCanTesto;
FSweat.ShowCancelButton: = FParam.BtnCanVisua;
FSweat.ShowLoaderOnConfirm: = FParam.ShowLoader;
FSweat.Title: = FParam.Testo;
//
FSweat.OnConfirm: = cmdConfirm;
FSweat.OnDismiss: = cmdAnulla;
FSweat.OnPreConfirm: = cmdLoader;
//
if FParam.InputVisua then begin
FSweat.InputType: = ItText;
FSweat.InputValue: = FParam.InputValue;
end
else
FSweat.InputType: = ItNone;
//
//
//FSweat.show; <==== It works !!
//
{}
if FSweat.Execute then begin <====== Error !!!!
FParam.InputValue: = FSweat.InputResult;
FParam.Result: = mrOk;
end
else begin
FParam.InputValue: = '';
FParam.Result: = mrCancel;
end;
{}
finally
End;
TUniButton customized components
in General
Posted
I would like to customize the TUniButton to activate the Bootstrap style.
Where can I put my personalizations?
On the component creation, or is there an event to connect to?
example (beforeupdate / beforeshow ....)
Tks