Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. picyka

    Only errors.

    Very good news, thank you.
  3. Hi, @Hayri ASLAN was able to reproduce the issue using the above test case. It means that we can implement a solution / work around soon. Thanks
  4. Today
  5. Serg

    UniUrlFrame в JPEG

    А если в общем случае, экспортировать в JPEG все что видно в окне UniUrlFrame?
  6. This post may help you to analyze and use the code (you may also need to modify the code for your need):
  7. Thank you, that worked. I have placed my order to renew
  8. You need to check for the seconds variable. Well, this is wrong of course, follow the sequence of parameters.
  9. '' + Self.Name+'.timer = Ext.TaskManager.start({ ' + ' run: function() { ' + ' var date = new Date(null); ' + ' date.setSeconds(--' + Self.Name + '.seconds); ' + ' var timeString = date.toISOString().substr(11, 8); ' + ' '+ ' '+Self.Name+'.UniLabelTimer.setHtml(''<i class="far fa-clock"></i> Tempo: '' + timeString); ' + ' '+ ' if (timeString == "00:00:00") { '+ ' ajaxRequest("stopTime"); '+ ' Ext.TaskManager.stop(' + Self.Name + '.timer); '+ ' }; '+ ' '+ ' }, ' + ' interval: 1000 ' + '});'; This way the timer stops, but I don't receive the stopTime event
  10. Would the code look like this? JSCODE := Self.Name + '.seconds = 60; ' + '' + Self.Name+'.timer = Ext.TaskManager.start({ ' + ' run: function() { ' + ' var date = new Date(null); ' + ' date.setSeconds(--' + Self.Name + '.seconds); ' + ' var timeString = date.toISOString().substr(11, 8); ' + ' if (timeString == ''0'') { '+ ' Ext.TaskManager.stop(' + Self.Name + '.timer); '+ ' ajaxRequest(''stopTime''); '+ ' }; '+ ' '+ ' '+Self.Name+'.UniLabelTimer.setHtml(''<i class="far fa-clock"></i> Tempo: '' + timeString); ' + ' }, ' + ' interval: 1000 ' + '});'; UniSession.JSCode(JSCODE);
  11. Well, inside the run function: if (condition that seconds is equal to or less than zero...) { Ext.TaskManager.stop(' + Self.Name + '.timer); //I think you should also stop the timer ajaxRequest(...); //There may be other codes as well }
  12. Yes and when it reaches zero I would like to execute an event or show a message to the user
  13. Hi @Woutero Thank you! Have you tried through the customer portal?
  14. Hi Sherzod I ‘m very happy with uniGUI and would like to renew my uniGUI Complete - Professional Edition license. On your web-site it says that the price for renewal is around 60% of original price, but I cannot find a link where to renew?
  15. Sorry, I couldn't do it. I wanted to execute a command when the timer reaches zero, how can I catch this event and execute the command?
  16. JSCODE := Self.Name + '.seconds = 60; ' + '' + Self.Name+'.timer = Ext.TaskManager.start({ ' + ' run: function() { ' + ' var date = new Date(null); ' + ' date.setSeconds(--' + Self.Name + '.seconds); ' + ' var timeString = date.toISOString().substr(11, 8); ' + ' '+Self.Name+'.UniLabelTimer.setHtml(''<i class="far fa-clock"></i> Tempo: '' + timeString); ' + ' }, ' + ' interval: 1000 ' + '});';
  17. Yes. 'boxready', 'function(sender, width, height, eOpts) {...' 'hide', 'function(sender, eOpts) {...'
  18. Great job, I managed to do the countdown, but how do you know when the timer reaches zero?
  19. I am after the same parameters as above:- "boxready" sender, width, height, eOpts "hide" sender, eOpts
  20. Hello, This post may help you:
  21. You can modify the code for the countdown.
  22. Can you please give me examples on how to add listeners with their appropriate parameters:- "hide" "boxready" Thanks
  23. TrayClock (on the client side) - Components and Code Samples - uniGUI Discussion Forums
  1. Load more activity
×
×
  • Create New...