Jump to content

Anders Melander

Members
  • Content Count

    2279
  • Joined

  • Last visited

  • Days Won

    117

Everything posted by Anders Melander

  1. Anders Melander

    When will we have a 64-bit IDE version ?

    That's not the worst; Installing a component still requires recompiling the IDE. That probably makes sense on Linux, but it makes zero sense on Windows. Also, the LCL and RTL aren't really up to par with Delphi.
  2. Anders Melander

    GDI Objects limitation

    Looking at the source of TBitBtn, it can either use an internal TBitmap (which will consume at least 1 handle per button) or it can use an external imagelist (which will consume at least 1 handle globally [*]). [*] Drawing an imagelist in the disabled state consumes another handle, drawing it monochrome another. I would stay away from TBitBtn. It was cute in the nineties but today few people want their application to look like it was made in the nineties...
  3. Anders Melander

    GDI Objects limitation

    For comparison, I have a simple application that's using DevExpress ribbon, DevExpress grids and a virtual treeview and it uses 400-450 GDI handles. An imagelist itself uses at most one GDI handle - if any. It's the individual bitmaps that copy data from the image list that uses the handles.
  4. Anders Melander

    When will we have a 64-bit IDE version ?

    That issue basically just says "Give me a 64-bit version because I say so - or else". I would just close it if I were Embarcadero. But I'm sure that migrating to Lazarus will ensure that you don't have to worry about memory limitations anymore. You will have a whole slew of other problems to keep you busy instead. Good luck with that.
  5. Anders Melander

    Cross-platform Application Help for FMX and VCL

    It makes perfect sense to me.
  6. Anders Melander

    String literals more then 255 chars

    So you don't format your source code with line breaks? - Because the Delphi compiler will ignore them anyway. It's not something I often do, but once in a blue moon I need to have a largish block of text in the source and that's just the way it is. Let's assume that there are reasons for this and that I know what I'm doing.
  7. Anders Melander

    Project in Seismic Field

    Can't be much: AFAIK the LCL canvas doesn't support anti-aliasing.
  8. Anders Melander

    Cross-platform Application Help for FMX and VCL

    It's just a file format. There's nothing it that limits it to Windows. https://en.wikipedia.org/wiki/Microsoft_Compiled_HTML_Help#Use_in_non-Windows_applications
  9. Anders Melander

    String literals more then 255 chars

    I can't tell if this was an attempt at humor because that's exactly the syntax I want to avoid.
  10. Anders Melander

    GDI Objects limitation

    Sounds like a bug to me. Have you checked the application for resource leaks?
  11. Anders Melander

    String literals more then 255 chars

    By Ignore newline I meant from this: Lorem ipsum dolor produce this: lorem ipsum dolor
  12. Anders Melander

    String literals more then 255 chars

    What docs?
  13. Anders Melander

    String literals more then 255 chars

    Nice! And about bloody time too! But surely there's more to the CoffeeScript-like syntax than this: Like, how does one differentiate between preserve or trim leading white space and preserve or ignore newline?
  14. https://github.com/CloudDelphi/RTC-Portal-VCL
  15. Anders Melander

    Addictive software??

    You might want to link to the source when you copy/paste some text verbatim: http://hunspell.github.io/ In addition to the Hunspell library itself, the Hunspell dictionary format is also supported by many proprietary 3rd party spell check libraries such as the DevExpress spell checker. See also:
  16. Anders Melander

    User Drawing of Lines and Curves

  17. Anders Melander

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

    Yikes. Nobody touches my screen! Not even myself. Besides touch screens add cost and complexity.
  18. Anders Melander

    User Drawing of Lines and Curves

    It's a bug in FMX. Probably related to this one: https://quality.embarcadero.com/browse/RSP-39520 It's visible for Stroke.Thickness>1
  19. Anders Melander

    Call for Delphi 12 Support in OpenSource projects.

    As far as I remember it had something to do with some pre-Delphi 6 version attempting to parse the {$if ...} even though it was protected by a {$ifdef CONDITIONALEXPRESSIONS}. It could also just have been the fact that {$if CompilerVersion...} doesn't work above the first uses clause... Anyway, it doesn't really matter anymore. It just struck me that there was a reason why the feature didn't gain more use - from me at least.
  20. Anders Melander

    Call for Delphi 12 Support in OpenSource projects.

    So, can anyone remember which version of Delphi broke that scheme? It's not broken now, but I'm certain that there was a version after Delphi 6 that somehow broke {$IF} so it couldn't be used if backward and forward compatibility was needed.
  21. Anders Melander

    Call for Delphi 12 Support in OpenSource projects.

    For the same reason they have ridiculous NDAs and don't have public betas; They are so stuck in the 90s that they think anyone still gives a damn.n They never understood how to build a community.
  22. Anders Melander

    Call for Delphi 12 Support in OpenSource projects.

    Please stop using VERxxx. It's been possible to do {$if CompilerVersion >= XX} since Delphi 6 or 7. It's so annoying having to edit the .inc files of various 3rd party libraries with each new version of Delphi because they're designed as if the latest version = the last version. Graphics.32 uses {$LIBSUFFIX AUTO} for the D11+ packages. The earlier packages are manually maintained by using a diff tool to keep them synchronized with a master. The master usually comes from the latest supported Delphi version. There's no way I'm wasting disk space on old versions of Delphi just to maintain the package files. I have the latest version, and the few versions required by my job, and that's it.
  23. Strange... It's like there's an echo in here.
  24. Naming the constructor "Create" is just a convention. You can name it anything you like. Thus naming the constructor "From" will not make a difference. Here's your problem: Pascal isn't case sensitive so that code does nothing. Prefix your parameter names with "A" (i.e. name them AItem and AColor in this case) to avoid problems like that. FWIW, if you want to avoid memory allocation (i.e. allocate your object on the stack instead of the heap), make it a record instead.
×