Jump to content


uniGUI Subscriber
  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About MarBar77

  • Rank

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

374 profile views
  1. I just want to force refresh particular control not whole page.
  2. I have created some graphical controls using TUniCanvas placed on TUniPanel. And those Panels are additionally placed on TUniTabSheets. Now I am doing some calculations in a loop for all those graphical components and refreshing their contents one by one, but on the results page they are not refreshed one by one but I have to wait while all calculations are ended. How I can force to refresh/repaint particular control just one by one, I have tried to synchronize session but with no effect. So in simply words I want to get effect that control 1 is refreshed just after calculation 1 and
  3. Hi If any one can give me a little tip how to use external .js library along with uniGUI controls. eg. It is color picker library: https://tovic.github.io/color-picker/color-picker.picker-set.html and I want use it to change eg. unipanel color by using it? Any tip for that or link to similiar example? Regards, Marcin
  4. Sherzod, thank you for your response. About second point I mean that eg. my Panel Is named ClientPanel in designtime and in html it has eg. Id = 10F. How can I retrive this Id in runtime? Regards, Marcin
  5. Or maybe another approach: 1) How to add additional items to head and body of whole mainform? 2) How to find the ID of particular TUniPanel div in generated html? Regards, Marcin
  6. Maybe I add some additional info. I need to extend body of particular TUniPanel with following HTML/Scripts: <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.js"></script> <style> canvas { max-width: 100%; max-height: 100%; } </style> <script> function genScreenshot() { html2canvas(myCanvas, { onrendered: function(canvas) { document.body.appendChild(canvas)
  7. Hi, I have main layout as showed as example in attached image. There are 3 panels for navigation and main panel (named ClientPanel presented in orange color) which has another two panels for navigation and rest of place of this panel is used to display frames. Now I have a question if this is possible to inject to this ClientPanel some additional HTML code and scripts. I want to add additional functionality to make screenshot of content of this panel using html2canvas plugin. To make this I need to ask some scripts to head section of this panel code and add script with function take
  8. Hi, Does anybody could share a piece of working code for adding Series to TUniChart in runtime? I have searched the forum and I have not found a working soultion, for this. Thanks in advance, Marcin
  9. Hi, Thank you for your response.
  10. I have to make some database records refreshing when there is no active session. 1) I have a desktop app. 2) I put UniTimer on MainForm, and it doesn't work when only app is running and there is no active connections to server. 3) I tried tu put UniTimer on ServerModule and I have get Access Vilotation 4) I put UniTimer on MainModule, and it doesn't work. So my question is how/where can I make some activities when app is running and there is no active connection? Marcin
  11. There was few posts about reaplacing standard loading,gif in project: So in CustomCSS: 1) When loading web page image: #loading .loading-indicator { background: url(./files/loading.gif) no-repeat; background-color: white; color: black; font: bold 16px tahoma,arial,helvetica; padding: 5px 10px 10px 50px; margin: 0; text-align: center; height: auto; } 2) For screenmask with loading.gif eg. when connection is lost: .x-mask-overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-image: u
  12. Hi, Sorry for the delay but I was in delegation. I have write simple test case and I have found what makes the trouble what causes not to refresh chart correctly, it is ajaxRequest in script. To see the problem, run the project (port 8077). Then click on Chart1 button (Chart1 will be displayed) then clik on Chart2 button (Chart2) will be displayed, so click again on Chart1 button, then you will see blank page, but just resize the webbrowser and chart appears again. Problematic lines are in frChart unit (lines 113 .. 117). I cannot remove this because I have to know when chart is re
  13. I have strange behaviuor of TUniHTML Frame. I am using "chart.js" to draw charts for me needs. When I am changing data for few first times everything works correctly, but later TuniHTMLFrame displays blank page. But when I was inspecting this case I have noticed that when I change browser size it is displayed normally, so that looks like generated HTML is OK, but only refreshing doesn't work. SO I have the question how can I force to refresh TUniHTMLFrame or how can I programmatically call Resize event to force refreshing UniHTMLFrame content? I am using Delphi XE on Windows 10. I
  14. Ok, I have found it, if someone need it: .x-grid-item-container table:first-child .x-grid-cell { color: white !important; font-weight: initial !important; }
  • Create New...