Jump to content

Attila Kovacs

Members
  • Content Count

    2068
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Linux Support on Pro Edition

    Tell them who: a.) bought Konopka pack and it was included in the next release b.) bought mobil add-on and was included in the next release c.) bought firedac and was included in the next release Imagine those surprised faces.
  2. Works for me: procedure TTestWizard.OnAppMessage(var Msg: TMsg; var Handled: Boolean); begin if (Msg.message = WM_KEYDOWN) then begin Beep; end; end; constructor TTestWizard.Create; begin FAppEv := TApplicationEvents.Create(Application.FindComponent('EditWindow_0')); FAppEv.OnMessage := OnAppMessage;
  3. Attila Kovacs

    Decorating read-only controls

    @Dany Marmur Indeed. For example I liked my Iphone 4 much better than any Android one because they had a collection of controls and every app looked in some way the same and I knew where to tap, how to control the device.
  4. Attila Kovacs

    Decorating read-only controls

    The word you are looking for is in German "Barrierefreiheit". English, accessibility? I don't know, the German word is more expressive for me. Designers and engineers should be taught for it. Until then, I'll try my best. I found Almdev's GP* VCL components very useful, then it allows setting an alpha factor for every color used. From frames to background and fonts,etc... Thus, I can use the predefined colors and it's even works with themes together. The only thing I'm missing is an explicit read-only color-settings like in Ray Konopka's Raize components.
  5. TApplication.OnMessage seems to be assigned by default, so you are just overwriting it. I'd hook it or use a TApplicationevents component on a custom form. (Never tried) Edit: Ah I see, you are already hooking it.
  6. Or you could hook the editors onkeypress event. In both cases be careful, you have to clean up before your module gets unloaded/dumped.
  7. 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.
  8. 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.
  9. 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"?
  10. Attila Kovacs

    Barcode 128 and printing width

    With custom display DPI's too? Doesn't your thermal printer support any language?
  11. 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..
  12. Attila Kovacs

    Limit to reactions

    🤦‍♂️
  13. 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.
  14. 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.
  15. Attila Kovacs

    What does "G" in GExperts mean?

    Luck, you are not Stefan or Sigmund..
  16. 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
  17. Attila Kovacs

    Touchscreen signature

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

    Any advice when to use FileExists?

    I've never mention any catch and re-raise.
  19. 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.
  20. 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.
  21. 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>)
  22. 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)
  23. 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.
  24. Attila Kovacs

    Slow PgUp in TVirtualStringTree

    In the first case VT nodes are getting its memories after the TestArray, and they will be swapped.
Ă—