-
Posts
1578 -
Joined
-
Last visited
-
Days Won
134
Content Type
Profiles
Forums
Events
Everything posted by Hayri ASLAN
-
One possible solution: UniToolButton -> ClientEvents -> ExtEvents -> mousedown function mousedown(sender, x, y, eOpts) { ActiveCmp = Ext.get(Ext.Element.getActiveElement()); } UniToolButton -> ClientEvents -> ExtEvents -> click function click(sender, e, eOpts) { ActiveCmp.focus(); }
-
Unimainmodule.onnewcomponent bolumunde yaratilan frame yada formlari takip edebilirsiniz
-
Merhaba Her formun onCreate ve ondestroy olaylarına kod yazarak yapabilirsiniz. Unigui bunların logunu tutmuyor.
-
When UNIGUI runtime lib are not installed ...
Hayri ASLAN replied to Roberto Nicchi's topic in General
Hello I added this to our board. We will add this. -
As your query returns only 50 rows, unigui will show the total 50. You should use only paging from unigui side. Are there any problems about paging?
-
Hello In your example please delete the code in ClientEvents and onDrawCell. Please use below code. procedure TMainForm.UniFormCreate(Sender: TObject); var I: Integer; begin for I := 0 to 5 do begin UniStringGrid1.Cells[1, i+1] := '<div id="note'+IntToStr(I)+'" style="cursor:pointer;" onclick="javascript:ajaxRequest('+UniStringGrid1.JSName+', ''OnNoteClick'', {recno: '+IntToStr(I)+'})">'+ '<i class="fas fa-sticky-note"></i>'+ '</div><hr/>'+ '<div id="heart'+IntToStr(I)+'" style="cursor:pointer;" onclick="javascript:ajaxRequest('+UniStringGrid1.JSName+', ''OnHeartClick'', {recno: '+IntToStr(I)+'})">'+ '<i class="fas fa-heart"></i>'+ '</div>'; end; end; procedure TMainForm.UniStringGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName='OnNoteClick' then ShowMessage('Note Clicked. Row : '+Params['recno'].AsString) else if EventName='OnHeartClick' then ShowMessage('Heart Clicked. Row : '+Params['recno'].AsString); end;
-
It is based on the css code. For example if you have "!important" in one of them, it will take effect. BodyCls will apply the css class to body of the component. cls will apply to very top and it will effect all inherited html elements. What are you trying to achieve? Can you explain?
-
hyperserver node not purged after close browser tab on chrome
Hayri ASLAN replied to donlego's topic in General
Hello We fixed a chrome related issue in the one of the newer version. If you update to latest, this problem will be fixed. -
How make Server to wait until JSCode function return answer.
Hayri ASLAN replied to irigsoft's topic in General
Hello Please check UniSweetAlert.Execute function. You will understand how we are waiting for the result in the thread. -
We have an example in the forum that uses esegece. We will try to find a free Websocket server app and it may not be Delphi library.
-
Tunitreeview customization. Combobox along each item ?
Hayri ASLAN replied to Roberto Nicchi's topic in General
We need to work on it. Can you explain what you need exactly? Do you have a screenshot? -
Tunitreeview customization. Combobox along each item ?
Hayri ASLAN replied to Roberto Nicchi's topic in General
-
Hello Why are you using uniDBGrid to export? Fastreport will be suitable for this.
-
Thank you We will check it
-
Can you please adjust your email?
-
Hello Can you please create a test case? We don't have NexusDB component so can you reproduce it without NexusDB?
-
You can use this code before the component rendered. That means anywhere before OnReady fired.
-
Hello You may record a session while "play" by scrolling and browsing continuously on a grid and run it with stress test tool to see how your app is handling it
-
Hello You can try below code. You can play with css to customize. UniServerModule.CustomCSS .button--loading .x-btn-inner { visibility: hidden; opacity: 0; } .button--loading::after { content: ""; position: absolute; width: 16px; height: 16px; top: 0; left: 0; right: 0; bottom: 0; margin: auto; border: 4px solid transparent; border-top-color: #000000; border-radius: 50%; animation: button-loading-spinner 1s ease infinite; } @keyframes button-loading-spinner { from { transform: rotate(0turn); } to { transform: rotate(1turn); } } UniButton1->ClientEvents->UniEvents->ajaxRequest : function ajaxRequest(sender, url, data) { sender.setDisabled(true); sender.addCls('button--loading'); } UniButton1->ClientEvents->UniEvents->ajaxCallback : function ajaxCallback(sender, response) { sender.setDisabled(false); sender.removeCls('button--loading'); } To test, you can add sleep into button click event. procedure TMainForm.UniButton2Click(Sender: TObject); begin Sleep(5000); end;
-
Hello You can draw polygon and markers. But marker cluster is not supported yet.
-
-
Hello Nope. It is in our board but i can't tell you the exact time as it is not planned yet.
-
Hello Which version and build are you using?
-
Set Chrome to open PDF rather than download them?
-
Hello You may search on google. I don't have an answer for this.