Jump to content

Sherlock

Moderators
  • Content Count

    1245
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by Sherlock

  1. 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.
  2. @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.
  3. 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.
  4. Perhaps GExperts can do that trick... I'm not sure though.
  5. Strange. What happens when you press F12 (standard key to switch between form and unit)?
  6. 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.
  7. The really fine manual states this behavior as being as expected.
  8. Sherlock

    When execute, this error appears

    Check what is entered in the field labeled "né". This can not be converted to a date. I'm guessing that is a TMaskEdit. You should only try to convert its contents, when it is filled with data. By the way, this applies to all other date fields...and perhaps even more.
  9. Sherlock

    Scaley drawings

    OK you'll need: uses FMX.Types, FMX.BehaviourManager, FMX.Platform; And even if you only develop for yourself, you should consider different DPI and scaling in your application because you might treat yourself to a monitor with higher resolution at some point.
  10. Sherlock

    Scaley drawings

    Have you tried your code on Windows set to 150% or any other scale? You need to find out, what the DisplayMetrics are and react accordingly. I use something like this if TBehaviorServices.Current.SupportsBehaviorService(IDeviceBehavior, DeviceBehavior, Context) then begin DisplayMetrics := DeviceBehavior.GetDisplayMetrics(Context); Scale := DisplayMetrics.ScreenScale; ppi := DisplayMetrics.PixelsPerInch; end else ShowMessage('Help?!');
  11. Sherlock

    iPhoneOS15.X.sdk

    I'm afraid that is a waste of time. It's not just the SDK that is needed here. Code signing by a specific XCode release is checked by Apple as well.
  12. Sherlock

    iPhoneOS15.X.sdk

    If you only need the mac sporadically or for barely more than XCode code signing consider a service like macincloud.com
  13. Sherlock

    MacOS: How to remove ambiguous Developer ID certificates?

    Strange. You probably should contact Apple about that.
  14. Sherlock

    Windows XP App

    Microsoft used to offer outdated OSes such as XP in virtual machines to test websites on different IE versions. Seems these VMs are gone though...you could try archive.org however.
  15. So, to wrap it up: Be a genius and have your decades old application rely on an object being available at all times. Or just double check to make sure. The penalty for that is being frowned upon by the real geniuses...or not.
  16. @Stano, please try to post in English. For the time being I have inserted a google translation into your post. Feel free to enhance it.
  17. Please don't forget India... there is a (mostly monetary) reason why management considers outsourcing a good idea.
  18. Sherlock

    Split String

    I would suggest to look up TryStrToInt. But that is just the beginning. What happens if you add 1 to 999.9999? Are there rules for those grouping dots? If the dots are always at the same place you could remove them before conversion and put them back in after your math and reconversion to string.
  19. Unemployably expensive? 🤪
  20. Sherlock

    Add #13#10 to a string

    In Python a \n usually does the trick. As per your example: caption = 'First line \n second line' Note that there is no need to concatenate the string.
  21. Here's a different link: https://pacmanattack.com/
  22. Sherlock

    macOS where to save downloaded executable?

    And the OS may interject as well, asking the user to verify that it may execute this downloaded file.
  23. Sherlock

    GUI are not the same size

    All you need to do is calculate the correct size. No biggie.
  24. Sherlock

    Partial Serial Number Verification System in Firemonkey

    Well, what are your problems? Any error message would be appreciated. Apart from that, have you tried your FMX build on the same Windows machine? Was it built with the same "bitness" (32-Bit or 64-Bit)?
×