Jump to content

Attila Kovacs

Members
  • Content Count

    1937
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Anon methods passed as event handlers?

    @David Schwartz I made a wrapper for assigning anon methods to TField events. My experiences: Pros: a.) quick and straightforward to assign them wherever you want. Cons: a.) debugger can't evaluate sh*t inside the anon methods b.) you will never ever find again in the code jungle wtf. is happening and why The moral of the story: Moon landing was fake.
  2. Attila Kovacs

    New VCL Style from DelphiStyles.com

    You don't have to force your users to use any skins, but you can ship skins with your apps and let them select one even run time. Really? Show me two similar looking app.
  3. Attila Kovacs

    Blast from the past: BDE and Win10 W/S

    I don't get it. 7M Records or 1G data in 3 weeks is ~4 record/sec or 551byte/sec. Btw. are there really 250 "databases"?
  4. Attila Kovacs

    Barcode 128 and printing width

    With custom display DPI's too? Doesn't your thermal printer support any language?
  5. Attila Kovacs

    MMX needs new icons

    I would wait a bit until the IDE is HDPI compatible. You could also check if for-example seanau.com would cover your needs. Most of the new icons are also in SVG, and they are really easy to edit/extend whatever..
  6. Attila Kovacs

    Limit to reactions

    🤦‍♂️
  7. Attila Kovacs

    Testing functionality "ignore topic"

    @Daniel I've noticed that the activity feed yields unread messages from the ignored threads. Just info, not a big deal.
  8. Attila Kovacs

    Testing functionality "ignore topic"

    But how would you un-ignore then? For me it's perfect now. A big thank you for it.
  9. Attila Kovacs

    What does "G" in GExperts mean?

    Luck, you are not Stefan or Sigmund..
  10. Attila Kovacs

    Touchscreen signature

    Hi everybody, I have to make a signature input on devices with touchscreen (Normal W10 devices, VCL only). Is it something easy with a canvas/bitmap and some events and a blur filter at the end, or is it something tricky and I should buy it from TMS? thx
  11. Attila Kovacs

    Touchscreen signature

    @Der schöne Günther Nothing special, a common touchscreen like a Yoga xyz. Edit: Already done, piece of cake...
  12. Attila Kovacs

    Any advice when to use FileExists?

    I've never mention any catch and re-raise.
  13. Attila Kovacs

    Any advice when to use FileExists?

    Throw them an exception. Then they (your callers) will start checking by themselves and throwing an exception to its callers etc.. at the end you will have a solid app.
  14. Attila Kovacs

    Any advice when to use FileExists?

    completely superfluous, then for each File in MainPath do if the file can disappear between these two lines if FileExists(File) then it could also disappear between these two lines If _IsFileValidForParsing(File) then (then you decide to create the file, it could be there again) etc.. FileExists and co. are a total nonsense, then it's returning a momentary state. Put a try except around any IO and handle the last os error if apply.
  15. Attila Kovacs

    Design Packages list is not resizable

    There is a bigger problem with this form, you can't select and copy the path on the bottom. Both could be done from an expert, and would be the preferred way, before someone redesigns the whole thing. (No, it's a Label with the path <o>)
  16. Attila Kovacs

    Delphi compiler need to be opensourced

    Tangentially on topic: is it possible to exclude this particular thread from the Activity feed? (I mean me for myself, is there any setting for that)
  17. Attila Kovacs

    Slow PgUp in TVirtualStringTree

    No. Memory will be remapped from X in Y length. Now, that you are scrolling backwards, it remaps every time a X-rowcount+Y chunk. Maybe you could read something from X-Y+rowcount but how would you know that the memory will be mapped and what Y is. But as I said I have no experience with this. Maybe somebody has some other thoughts on it too.
  18. Attila Kovacs

    Slow PgUp in TVirtualStringTree

    In the first case VT nodes are getting its memories after the TestArray, and they will be swapped.
  19. Attila Kovacs

    Slow PgUp in TVirtualStringTree

    Yup. App takes over 200MB RAM and windows starts swapping, you can see the Page Faults in the task manager. Also thats why backwards is slower. I have no clue how can one influence that, never had a problem like that.
  20. Attila Kovacs

    Slow PgUp in TVirtualStringTree

    Just tried the exact same demo with 7.2.1 and 1million root nodes, it's fast as lightning in both directions.
  21. Attila Kovacs

    Issue with code-editor toolbars

    @Yaron Check "Always show designer items" under Environment Options / Tool Palette, and voila
  22. Attila Kovacs

    Issue with code-editor toolbars

    Isn't that, that you can pull out any toolbar to undocked state, close it and save desktop settings?
  23. Attila Kovacs

    Slow PgUp in TVirtualStringTree

    I can't exactly remember but I can see in my sources that I'm caching (also calculating myself, only once) the Nodeheight's and returning it in VSTMeasureItem event for VT. This would not make any sense if it wasn't too slow for me too, back to the days. Can't remember.
  24. Attila Kovacs

    Decorating read-only controls

    @Der schöne Günther Indeed. And also funny. But does not apply then styles are overriding every design time decorations except I'm implementing one custom hook for every different control types.
×