Jump to content

Sherlock

Moderators
  • Content Count

    1211
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Sherlock

  1. Sherlock

    Detect shake gesture on IOS

    Have you looked into iOSApi.CoreMotion? It does sound like a good place to start.
  2. Sherlock

    The Delphi 11.2 release thread

    OT: BPL hell. I build monolithic applications. copy the exe anywhere and run it. Never even considered using dll or bpl "technology". All I ever see is drawbacks to this kind of software development.
  3. Sherlock

    Variable Hints

    True for more than one reason.
  4. Sherlock

    Variable Hints

    Oh! OK, sure, that'll work just fine. 👍 But the underlying point is if a manufacturer chooses to implement a feature, he should fix the bugs.
  5. Sherlock

    Variable Hints

    @Pat FoleySorry, I don't get it
  6. Sherlock

    Variable Hints

    While it is a nice thing to be able to use your own charset during development, it is something I would never encourage or do myself. You will never be able to have someone outside your language read and understand your code. That said, this is a bug and you should just report it in the Quality Portal: https://quality.embarcadero.com/secure/Dashboard.jspa
  7. Sherlock

    wuppdi Welcome Page for Delphi 11 Alexandria?

    11.2 will now need a totally reworked Wuppdi Welcome page. Which is a good thing because "no more Internet Explorer"
  8. Sherlock

    How to force update to label during a loop

    Just call Invalidate for the entire form. Or (if you really have to) call InvalidateRect for the rectangle of your label. Note that InvalidateRect is still a method of your form, not of the label. But you will have to use some form of threading to get that application responsive anyway...
  9. Sherlock

    The Delphi 11.2 release thread

    According to the installation notes Delphi 11.2 can only run on Windows 10....nicely done.
  10. Out of curiosity: How would binaries created with this fare on a Ryzen processor? Are Intel and AMD still 100% compatible? AFAIK Ryzen had problems on Win11 well into this summer, but that was because of TPM.
  11. No, not at all. There are plenty of FMX Android Apps. Keep in mind however, you will need to update your Delphi as soon as a new version is released to keep up with requirements from new Android versions.
  12. Firstly, that information is roughly four years old (which is ancient history in our line of work) and secondly no Delphi developer would have an Android App, which seems not to be the case. Sherlock
  13. Sherlock

    check if string date

    Sorry, but @Lainkes clearly stated, the data is not entered by the user. So no focus on fixing user errors needed here. Remains the unanswered question, about the origin of the date. How did this possibly erroneous value get into the Edit in the first place? Is it from a database? Or maybe some text file? Retrieved from a web site? All of which have appropriate methods to ensure correct data types and values. Fixing the issue on the GUI is way to late.
  14. Sherlock

    check if string date

    I wonder why you think you can't use a TDateTimePicker? Have you tried? Whence is the date if not from the user? Because anything else should already be under your total control.
  15. Sherlock

    Move a form a few pixels??

    Just so it wont be forgotten, OLEDs may suffer from the same issue. But modern TVs and maybe displays as well have nifty workarounds installed (spoiler alert: they do what Ian plans to implement themselves). Read here for more infos: https://www.displayninja.com/oled-screen-burn-in/
  16. Sherlock

    [Android] How to change regional settings

    Have you tried TFormatSettings.LongDateformat?
  17. Sherlock

    How do I update the sqlite dll in RAD Studio?

    It is back online...FYI
  18. Sherlock

    [Android] How to change regional settings

    For the complete device or only for your application?
  19. Sherlock

    IDE Syntax Highlighter using Tree-sitter

    @Uwe Raabe Thanks! Sounds like a tough task then. But if an API existed, would it make this task easier? I'm still trying to figure out, where one could benefit from the LSP other than finally getting correctly marked errors in the source.
  20. Sherlock

    IDE Syntax Highlighter using Tree-sitter

    So, from your description I gather you are not using the LSP? Is something missing from it to make it unsuitable for this task, or is it not accessible altogether for plugins other than Embarcaderos own? Or am I misunderstanding the purpose of the LSP completely...never actively used it.
  21. @Uwe Raabe You are right, and that is why I sort of constrained my claim to "most of the time". It is very important, that users not have a hard time recognizing their security relevant and time sensitive application. Not many applications however are just that, security relevant or time sensitive. They are simple boring data entry UIs and it is understandable, that a developer is tempted to "pep things up" but that has to be done very carefully and I doubt Themes are the way to go. At least last time I looked at them (three years ago) they where inconsistent and hard to edit/adapt to own wishes. But I believe this is leaving the path the OP had in mind.
  22. Any style that differs from the current OSes UI style and style guide, will cause an application to look and feel strangely out of place. You might want or like that, but most of the time users will feel uneasy about it as soon as the initial "wow how pretty" effect has faded to "why is the quit button green?". So in essence styles to me are just another toy where Embarcadero has wasted precious time and money, both of which are direly needed in other areas of the product.
  23. Perhaps GExperts can do that trick... I'm not sure though.
  24. Strange. What happens when you press F12 (standard key to switch between form and unit)?
  25. Sherlock

    How to hide "block highlighters" ?

    I'm guessing you write about structural highlighting. The link to the manual should clarify. On second thought, you might have 3rd party tools like CnPack installed. That has such an option as well.
×