Jump to content

Attila Kovacs

Members
  • Content Count

    2067
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by Attila Kovacs

  1. Attila Kovacs

    TDBEdit / Dataset / SetFocus / VK_DELETE / WTH

    Can someone tell me what the % is going on in this example? An MCVE where TDBEdit or TDataset or the DataLink goes into a strange state in a message storm. Changing Dataset's ReadOnly property between SetFocuses results in a state where VK_DELETE still deletes the text, and in an 'dataset not in edit or insert mode' on exiting the modified editbox. Tested in 10.1 U2, maybe already fixed? pack.7z
  2. Attila Kovacs

    TDBEdit / Dataset / SetFocus / VK_DELETE / WTH

    Well, it's more complicated as I thought. I've put 4 different DBEdit components from different vendors onto the form. If I keep pressing ctrl-f1 and in the meantime I'm changing the focus with the mouse to one of the edit boxes, the VK_DELETE keeps still executed when the dataset is in ReadOnly state. The same happens with TDBMemo so I assume with all DB-Controls. 10.2 seems to be OK. Phew... Ok found it. I assume there will be never a hotfix for Berlin.
  3. Attila Kovacs

    TDBEdit / Dataset / SetFocus / VK_DELETE / WTH

    @Uwe Raabe There are no observers involved, LEditLink is False, it must be something else.
  4. Attila Kovacs

    PopMenu two levels down..

    This means you have tested with other versions too, and it's only happens in 10.3.2?
  5. Attila Kovacs

    Interesting article about dying languages

    "All" ? That would be interesting...
  6. "Next Modification" "Previous Modification" "Next Unsaved Modification" "Previous Unsaved Modification" Can somebody tell me where these menus are and/or how to activate them?
  7. Rule 2a. Hyphenate all compound numbers from twenty-one through ninety-nine. Rule 8b. When writing out numbers above 999, do not use commas. for the first sight. But I could take this as a base if there is no fully correct lib out of the box. Let's see what other people think.
  8. All of them 😉 The first 2 pages of google result including torry.
  9. Attila Kovacs

    SFTP client

    Reading your question I don't really know what you need, but with https://www.clevercomponents.com/products/inetsuite/ I could cover all my needs in the past. There is also a discount right now.
  10. Attila Kovacs

    Reverse scrolling TEdt?

    you could also just do a Memo1.Lines.Insert(0, s); instead of Lines.Add(); (which is actually Insert(GetCount, s);) and you do not have to change much
  11. Attila Kovacs

    Reverse scrolling TEdt?

    The last time I did something similar I was using some kind of virtual table reverse ordered and bound to some db-control, like dblist or dbgrid.
  12. Attila Kovacs

    Dark theme

    https://darkreader.org/
  13. Attila Kovacs

    Scope of a HotKey??

    It's easy. If those hotkeys are really app-wide hotkeys and not a case for menu/action components, just hook the application messages and evaluate WM_KEYDOWN. VCL does the same. For every single menu/action visible. Every single time you press a key in your app.
  14. Attila Kovacs

    ISAPI DLL concurrent requests

    Btw. the fact that your broker works in garden mode, where the dll will be loaded every time you have a new request (as I understand it), indicates that you are using globals in non thread-safe mode.
  15. Attila Kovacs

    ISAPI DLL concurrent requests

    I think there are explicit WebGarden = true / false options in IIS, but your web.config does not has it, maybe you could check other config files. Nothing. Always set up everything from scratch, and at the end of your events there should nothing be kept. Avoid globals as much you can or use thread safe techniques to access them. I don't know how could be this possible. Ok, I also never needed it, but your events are running in a different thread every time you do a req, I'm not even sure that these threads are aware of an existing Application instance.
  16. Attila Kovacs

    ISAPI DLL concurrent requests

    Not really. Make sure WebGarden is not turned on, you don't do anything in webmodule OnCreate and OnDestroy, check the Event Viewer, try writing into a logfile to see what executes and what not...
  17. Attila Kovacs

    ISAPI DLL concurrent requests

    show web.config and MCVE
  18. Attila Kovacs

    Do we have a spam problem?

    Do we need a sign up captcha?
  19. Attila Kovacs

    Parsing Google Search Results redux

    apt-get install elinks // or whatever distro you use, install elinks elinks https://www.google.com/search?q=dentist+in+scottsdale >output.file but as I told you already, you will face captchas very soon
  20. Attila Kovacs

    IDE adds {$R} between units

    It happens to me every time I add a new unit to the project, mainly because I have other compiler directives in the .dpr. I think it works as designed...
  21. Attila Kovacs

    Running the IDE in a VM on Mac Book Pro?

    https://9to5mac.com/2017/08/10/macbook-pro-ssd-capacity-samsung-4tb/
  22. Attila Kovacs

    JSON - Why self ins't updated with new values ?

    Pretty weird. Never seen assigning something to "self", I'm wondering that this compiles. But for your problem, think on "self" like if it was a variable. It should be rather Person := TJSon.JsonToObject<TPerson>(aJsonString);
  23. Attila Kovacs

    TWebBrowser + dynamic JS question

    Not to mention, once you get it to work, you will face in a very short time capthcas on every google pages for your IP.
  24. Attila Kovacs

    TWebBrowser + dynamic JS question

    I told you already that this is not something google wants to be able and they are very good at this and changing continuously their code. Good luck
×