Jump to content

Attila Kovacs

Members
  • Content Count

    2048
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Scaling (DPI Change) + Anchors

    didn't work, the bottom pane is now on 3 panels in groups
  2. Attila Kovacs

    Scaling (DPI Change) + Anchors

    They are on a TPanel. o.O
  3. since I switched to x64, I've been encountering a problem that I can only describe if it's not.
  4. Attila Kovacs

    Returning a string from a bpl

    what was your first google hit?
  5. Attila Kovacs

    Collecting data

    here
  6. Attila Kovacs

    Are local TGUIDS preinitialized?

    as both paramerters for Equal() are const it could yell before calling it
  7. Attila Kovacs

    Are local TGUIDS preinitialized?

    @Brandon Staggs The compiler makes educated guesses even with integers. Consider my example. The same could be mimicked for records. I know it won't cover everything, but neither does it for other types.
  8. Attila Kovacs

    Are local TGUIDS preinitialized?

    var i: integer; begin i.ToSingle; if i > 0 then Exit; I understand but I think those excuses are made up. ToSingle supresses the hint.
  9. Attila Kovacs

    Are local TGUIDS preinitialized?

    Does this 'more complex' mean that we don't care, or that we sweated hard and got it done? 🙂
  10. Attila Kovacs

    Are local TGUIDS preinitialized?

    Ahm, isn't there a compiler hint missing then?
  11. Attila Kovacs

    Are local TGUIDS preinitialized?

    @Dalija Prasnikar Thanks! So, I was just lucky all the time <o>, checking it against TGUID.Empty and it bit me under x64. Did a code check and found one more occurence in my code...
  12. Attila Kovacs

    Project Options -> Version Info aka. dproj madness

    I also have a build server where I generate the resource from a template, but I still need it in the IDE. Just saying. 😉
  13. Attila Kovacs

    Project Options -> Version Info aka. dproj madness

    I also need it in the IDE because I store essential information in it. Perhaps it's not the best practice, but that's how it currently is. Uwe's solution to remove child entries seems to be the best option, as it usually is when he comes up with something. However, this issue should also be addressed in the IDE itself. At the very least, they should consider hiring that expert and incorporating their solution into the IDE.
  14. Attila Kovacs

    JSON and UInt64 problem

    That means those numbers are implicitly converted to anything by every interpreter. If necessary, you may consider using strings instead.
  15. Attila Kovacs

    Project Options -> Version Info aka. dproj madness

    oh. now that's interesting 😄
  16. One of my VCL apps is hanging in 64-bit mode at termination for 30+ seconds. Any ideas what could be causing this? I don't have to do much; just starting the app and ending it, or pressing Ctrl+F2. Other apps are terminating instantly. I would prefer to try some tips before resorting to cloning the project and systematically removing components. IDE: Berlin U2
  17. Attila Kovacs

    JSON and UInt64 problem

    Be careful with those numbers, they can bite. https://lwn.net/Articles/730671/
  18. Attila Kovacs

    Project Options -> Version Info aka. dproj madness

    Great, but this should be working in the IDE. Before I report this misimplementation, I wanted to know if it's still the same in the current IDE.
  19. Attila Kovacs

    Project Options -> Version Info aka. dproj madness

    Of course. The state as if it were never checked, without explicit "false" in the dproj, inherinting the settings from above.
  20. Attila Kovacs

    ANN HTML Library 4.7 released

    It became really fast with about 30.000 shapes. Like you were zooming/scrolling etc.. an image without any lag.
  21. Attila Kovacs

    Type within a class

    it's a type declaration in the class it's type TDataContainer = class public type TIterateAction = reference to procedure (value: integer); strict private FData: TArray<integer>; FIndex: integer; public constructor Create(const data: TArray<integer>); procedure Iterate(action: TIterateAction); function GetFirst(var value: integer): boolean; function GetNext(var value: integer): boolean; end; TDataContainer.TIterateAction type It's just ebarcadero who does not give a fuck to implement its own syntax to the formatter.
  22. It's the Vcl.FlexCel.Core and FlexCel.XlsAdapter units. I'll ask the Author.
  23. Attila Kovacs

    ANN HTML Library 4.7 released

    Wow.
  24. Yes, but I need to gather strength for that first.
×