Jump to content

Sherzod

Moderators
  • Posts

    19790
  • Joined

  • Last visited

  • Days Won

    643

Everything posted by Sherzod

  1. Maybe something like this? 1. UnimImage1 -> ClientEvents -> UniEvents -> function afterCreate: function afterCreate(sender) { sender.element.on("tap", function(e) { point=e.touch.point; ajaxRequest(sender, "getPoint", ["x="+(point.x-this.getX()), "y="+(point.y-this.getY())]); }); } 2. UnimImage1 -> OnAjaxEvent: procedure TMainmForm.UnimImage1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'getPoint' then begin ShowMessage(Params.Values['x'] + ',' + Params.Values['y']); end; end;
  2. Hi, Do you mean coordinates in the UnimImage area?
  3. Hi, I found one of the possible solutions, can you try ? MainForm -> Script: Ext.onReady(function() { (function($) { 'use strict'; $.fn.tooltipOnOverflow = function() { $(this).on("mouseenter", function() { if (this.offsetWidth < this.scrollWidth) { $(this).attr('title', $(this).text()); } else { $(this).removeAttr("title"); } }); }; })(jQuery); Ext.defer(function() { $("div").tooltipOnOverflow(); }, 1000); }); https://stackoverflow.com/questions/5474871/html-how-can-i-show-tooltip-only-when-ellipsis-is-activated
  4. Hi, Perhaps you did not correctly reinstall the new version...
  5. Hi, Sorry, as a valid hyperlink or similar to a hyperlink ?
  6. Hi, Which build are you using? Can you please open a ticket in support portal with a simple testcase for this?
  7. Hi, Thanks for the testcase. I will try to check it and let you know
  8. Hello, Can you please specify which edition and build of UniGUI are you using?
  9. You can try this CSS for "all": .x-item-disabled { opacity: 1; }
  10. Hi, Which build are you using? Can you make a simple testcase for this?!
  11. Hi, You may not be able to do completely the UI as you want, but I think you can do similar functionality that will meet your needs as in "VCL"
  12. Hi, This post may help you : http://forums.unigui.com/index.php?/topic/8324-tunipanel-border-color/
  13. Ok, Sorry, can you explain your issue again by indicating where the problem is and, if possible, can you make a small testcase for this ?!
  14. Try this: MainForm -> Script: Ext.onReady(function() { window.fcWidget.init({ token: "e53250f6-030b-49cb-8b99-fb80642172fd", host: "https://wchat.freshchat.com" }); });
  15. I got this error: TypeError: s is null widget.js:101:49
  16. Hello, Do you mean this question?
  17. Hello, There are many ways to do this. Try this one UniServerModule -> CustomFiles: http://assets.freshdesk.com/widget/freshwidget.js MainForm -> Script: FreshWidget.init("", {"queryString": "&widgetType=popup", "utf8": "✓", "widgetType": "popup", "buttonType": "text", "buttonText": "Support", "buttonColor": "white", "buttonBg": "#006063", "alignment": "1", "offset": "100px", "formHeight": "500px", "url": "https://adm-concept.freshdesk.com"} );
  18. I'm sorry, I don't fully understand what you want and what your issue is...
  19. Ok, perhaps you should use like this approach:
  20. Sorry, which edition are you using?
  21. Hi, One possible solution UniServerModule -> CustomCSS: .x-item-disabled .x-grid-checkcolumn { opacity: 1; }
  22. Добрый день, Одно из возможных решений: 1. type TXPopupMenu = class(TUniPopupMenu) end; 2. procedure TMainForm.UniFormReady(Sender: TObject); begin TXPopupMenu(YourUniPopupMenu).MenuControl.JSInterface.JSAddListener('click', 'function(me){alert("click")}', YourUniMenuItem.JSMenuItem); end;
×
×
  • Create New...