Jump to content

Clayton A. Alves

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by Clayton A. Alves

  1. Clayton A. Alves

    Slow response on TButton click

    I've made a virtual number keyboard using fmx. Each key is a TButton, inside a TGridLayout. Each TButton updates a TEdit with the corresponding number (from Text property). When I run the application on Android 14, it works ok. When I run this application on Android (8.1.0 Oreo), on a real device, the time from the touch to the response (updating the TEdit) is really slow. If I place the buttons outside the TGridLayout, the performance get's a little better. If I replace the TButtons to TRectangles with TText, the performance get's even better. Is there any property or configuration that I can set to make the TButton version respond faster ? Maybe the issue is related to the animation when the button is clicked, but I can't find a way to turn it off. Below is an image of the app running. This is the device i'm testing: https://www.jarltech.com/sites/default/files/images/product/main/SUN_d2_mini_front_web.png
  2. Clayton A. Alves

    Slow response on TButton click

    I'm using Delphi 10.4.2 (Sydney). I've attached the sample test project I'm using. tbutton_touch_test.zip
  3. Clayton A. Alves

    Old Window border style on Delphi MDI child form

    In Delphi 7 (don't ask) the MDI form (window) is displayed using Windows 10 style. But the MDI child is using the old Windows style. Does anyone has any clues on why this happens ? I've attached a screenshot of this problem. Delphi Version: 7 Windows Version: 10
  4. Clayton A. Alves

    Old Window border style on Delphi MDI child form

    Thank you all for the answers. I guess the only viable solution, without updating to Delphi 12, is to custom draw the frame.
×