Jump to content

Lars Fosdal

Administrators
  • Content Count

    3298
  • Joined

  • Last visited

  • Days Won

    110

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Pos, SplitString

    @corneliusdavid I replaced shortest with most readable years ago. 😛
  2. Lars Fosdal

    Pos, SplitString

    Result := MyString StartPos := Pos('<', Result); if StartPos > 0 then Delete(Result, StartPos, Pos('>', Result) - StartPos + 1); Something like this? Note that it doesn't handle a missing '>', nor does it trim.
  3. Lars Fosdal

    SonarDelphi v1.0.0 released!

    Featurewise - how does Peganza Pascal Expert hold up to TMS FixInsight?
  4. Lars Fosdal

    The future of Delphi

    Two and a half year later... I still want the above.
  5. Lars Fosdal

    Skia Print Preview and Print in Delphi 12?

    Perusing the source code, it appears that a Print capability is supported. Regular FMX doesn't have print preview, so I doubt there is SKIA support for that.
  6. Lars Fosdal

    Delphi 12 is available

    I bet that many of those will also recognize the western calendar years. Brgds, a Wood Dragon.
  7. Lars Fosdal

    Delphi 12 is available

    Ref, next major version of Delphi... Triskaidekaphobia IS to be trifled with 😛 I do wish more companies would simply adopt a calendar centric version. RAD Studio <year>.<release>.<patch>.<build> I also wish that the minor releases could be installed in parallel!
  8. I don't use packages except those that exist by default compile time, so I haven't really seen it as a massive problem, but yes - any list that needs a scrollbar, probably also needs a filter.
  9. Lars Fosdal

    Create an animated gif from a set of bitmaps?

    Not to forget, FMX+SKIA+LOTTIE files.
  10. Lars Fosdal

    Bringing the IDE automatically to the foreground?

    What drives me nuts, is the UACs that flashes the icon but doesn't bring the window to front. There are Windows settings that can affect the bring to front behaviour. Also, Windows drivers and layout management tools can affect the behaviour.
  11. It has no filter box as far as I can tell.
  12. Please make a complete compilable executable example. The listed code does not illustrate proper generic references. It is not clear what you are trying to achieve, it being manipulating an input value or an internal value, nor what value you are trying to modify. If you are using pointer references to modify values, your code isn´t really generic anymore.
  13. Have you filed a feature request in QualityPortal?
  14. Lars Fosdal

    Any delphi components for VNC or RemoteDesktop?

    Is the Delphi app 64-bit?
  15. Lars Fosdal

    Parnassus Bookmarks issue - again.

    That's terrible.
  16. Lars Fosdal

    Delphi 12.0 Athens - Platform status

    AFAIK, it is a C++ only issue.
  17. Lars Fosdal

    Code formatting in Delphi 12

    TBH, I've never used the formatter, except a couple of times by accident - which quickly was undone. I do have a somewhat unconventional formatting, but given that the team has adopted it as well - I'd say it works.
  18. Lars Fosdal

    Windows Arm is still not ready. It is still in the cook.

    11.3 works well on WfW for ARM under Parallells on my MBP M1 Pro.
  19. Lars Fosdal

    Windows Arm is still not ready. It is still in the cook.

    Ctrl+Shift+V = paste as plain text.
  20. https://www.charlesproxy.com/ is invaluable for debugging authentication sequences, well, technically any kind of web request. I've used it to find the difference between a working OAuth2 authentication .NET app, and a non-working Delphi app and solve the Delphi problem.
  21. Lars Fosdal

    How do I execute code after FormShow ?

    Those are not hacks - but techniques. I try to avoid blocking the window thread when updating the contents, so I usually spin off queries and calculations in a biz.object. I have a TriggerContentUpdate method that fetches/checks that I have the params I need, sets up the thread and starts it. When the thread completes, it triggers a Window redraw which checks if there is data to update from in the biz object, otherwise painting a "No data" or "Processing..." message.. TriggerContentUpdate can then be called from Form.AfterShow, or whenever the parameter data changes, or by timer for automated refresh.
  22. Lars Fosdal

    Parallel Resampling of (VCL-) Bitmaps

    For me, the fastest blur is created by taking off my glasses...
  23. Lars Fosdal

    Deep links to open the app

    On Windows, there is the concepts of file type associations, URL handlers, etc. On Android, you must use intents. MacOS and iOS also has intents, but I don't know if FMX support them? Linux - not sure.
  24. Lars Fosdal

    Database

    IMO, connecting directly to a DB from a mobile app is not a good approach. I would recommend that you put a REST API between the app and the DB.
  25. Lars Fosdal

    Win32, Win64, WinRT and now... WinARM ?????

    From what I read, the 32-bit version of Matlab has issues under W11ARM, while the 64-bit supposedly works. IMO - making a general statement that 32-bit and 64-bit intel apps doesn't work on ARM, is a far cry away from specifying some specific apps that don't work.
×