Jump to content

Sherzod

Moderators
  • Posts

    19702
  • Joined

  • Last visited

  • Days Won

    637

Everything posted by Sherzod

  1. Yes, it is quite possible, not only when using the tab button (the reason that formatting is used I guess)
  2. Cильно не критикуйте пожалуйста Вы имеете в виду пользовательский цвет. Если да, то тогда используйте двойной клик.
  3. Sherzod

    Messagebeep

    Hello, Sorry for the late reply. Can you make a test case to check the difference between the program's work in a desktop application and in a mobile application?
  4. Попробуйте такой подход тогда: procedure TMainForm.UniURLFrame1FrameLoaded(Sender: TObject); begin // UniURLFrame1.JSInterface.JSCall('iframe.setAttribute', ['allow', 'clipboard write; clipboard read']); end;
  5. Здравствуйте, Какие ошибки получаете, в консоле браузера?
  6. uColorComboBox.pas procedure TUniColorComboBox.SetJSColor(AColor: TAlphaColor); var Ident: Integer; ColorStr: string; begin if AColor = claNull then begin JSCall('setValue', ['#00000000']) end else if AlphaColorToString(AColor).Chars[0] <> '#' then JSCall('setValue', [LowerCase(AlphaColorToString(AColor))]) else begin ColorStr := AlphaColorToString(AColor); ColorStr := Copy(ColorStr, 4, 9) + Copy(ColorStr, 2, 2); JSCall('setValue', [ColorStr]); end; end;
  7. Merhaba, First of all, please specify which edition and build of UniGUI are you using?
  8. showOverflow config. Show an overflow label that will display an overlay when there are too many events to render in the view. UniCalendarPanel -> ClientEvents -> UniEvents -> function beforeInit(sender, config) { config.views.month.showOverflow = 'top'; }
  9. Hello, Could you create a test project to understand what's not working?
  10. Hi @Popo And if used without modification, does it always work?
  11. Попробуйте: procedure TMainForm.UniTabSheet2Close(Sender: TObject; var AllowClose: Boolean); begin AllowClose := ((Sender as TUniTabSheet).CustomAttribs.Values['allowClose'] = 'true'); if not AllowClose then MessageDlg('Are you sure you want to close this tab?', mtConfirmation, [mbYes, mbNo], procedure (AComponent: TComponent; ARes: Integer) begin if ARes = mrYes then begin (Sender as TUniTabSheet).CustomAttribs.Values['allowClose'] := 'true'; (Sender as TUniTabSheet).Close; end; end ); end;
  12. Try this instead: function beforeInit(sender, config) { sender.defaults = { tdAttrs: { style: 'padding: 10px;' } } }
  13. I see. Need to analyze. It seems the default styles, not applied to static objects.
  14. Вы можете найти множество объяснений, советов, решений в сети. На форуме тоже есть. Но я бы посоветовал Вам не пытаться «полностью» отключить такое поведение браузера. Мне больше всего нравится такой ответ: "... I'm pretty sure that's the closes you can go. Because it would be very bad if anyone could just disable the back button for users."
  15. Должно быть определенное действие на странице, со стороны пользователя (думаю что почти на всех браузерах).
  16. Да, это поведение браузера.
  17. Hi, Does he navigate the grid using the keyboard?
×
×
  • Create New...