Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 09/18/21 in all areas

  1. dummzeuch

    10.4.1+ Custom Managed Records usable?

    Because I'm not Barney Stinson.
  2. Uwe Raabe

    How to have Live vertical scrolling of TDBGrid

    The requested functionality can be hacked together with a few lines of code. Place this interposer class in the scope of your form. type TDBGrid = class(Vcl.DBGrids.TDBGrid) private procedure WMVScroll(var Message: TWMVScroll); message WM_VSCROLL; end; ... procedure TDBGrid.WMVScroll(var Message: TWMVScroll); begin if Message.ScrollCode = SB_THUMBTRACK then Message.ScrollCode := SB_THUMBPOSITION; inherited; end;
  3. Sure, if that was easy they would have done that part already. 😉
  4. No, not really except you simply have another version of Delphi to support, which is typically another VM to keep around. It would be nice to delete the old Delphi VM and simply use the latest version of RAD Studio to support all of your projects, including the ancient ones. I know that's a big ask but in this case, it's not a major change to allow that to happen.
  5. Vincent Parrett

    Delphi Package Manager - choices?

    Interesting, I hadn't seen this before (and I thought I had seen every delphi package manager!). Can't really make heads or tails of it though - not quite sure how it works. The docs are a little out of date - the project is still actively being worked on (source code here) - I'm currently working on project group support, resolving package conflicts between projects - anyone familiar with nuget would understand where I am heading This is what working with an individual project looks like 🤣 thought you were talking about package managers, not a promotional vehicle. I'm skipping D11 so no pain this time - but I am working hard to get DPM usable for everyone - that said, I have a day job that takes most of my time, so contributions and collaboration is welcomed 😉
  6. 0x8000FFFF

    10.4.1+ Custom Managed Records usable?

    We already have if and case statements in Delphi, we don't have expressions though. Expressions are parts of statements. Speaking of Oxygene, don't forget to mention colon operator, lambda expressions, for loop expressions, async & await (.NET only) expressions and more ... See also this Q&A that relates to the topic discussed in this thread - ternary conditional operator, null-coalescing operator (Elvis operator) and Oxygene colon operator: Escape from chain of Assigned() in Delphi It also provides some QP links of feature requests.
  7. Fr0sT.Brutal

    10.4.1+ Custom Managed Records usable?

    Of course you're right but this naming is too common because conditional seems to be the only existing ternary operator 🙂 at least I don't know any others
  8. Dalija Prasnikar

    10.4.1+ Custom Managed Records usable?

    Right... I completely misinterpreted what you were saying. I guess it is "I am reading words, but their meaning is not arriving in my brain" day...
  9. Lars Fosdal

    10.4.1+ Custom Managed Records usable?

    I am still waiting for nullable types so that I can rewrite more code 😛
  10. David Heffernan

    10.4.1+ Custom Managed Records usable?

    OK, I see where you are coming from. I just assumed that implicit in the Q was that any migration was done for the right reasons, rather than for its own sake.
  11. David Heffernan

    10.4.1+ Custom Managed Records usable?

    Nobody is suggesting that. The question is for people that are wanting to use the new feature to take advantage of its benefits.
  12. David Heffernan

    10.4.1+ Custom Managed Records usable?

    You'd use this functionality to be able to write more concise and cleaner code, in situations where it provided benefit. So the answer to "why should I?" is when there are good reasons to.
  13. Stefan Glienke

    10.4.1+ Custom Managed Records usable?

    If you are a seasoned Delphi developer you know that new features are not usable for like half a decade or so...
×