Jump to content

Dany Marmur

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Dany Marmur

  1. Dany Marmur

    Hot Reload in Delphi?

    "Hot" is not for Emba. "Chilly" they might be able to do. Then something else if off IMHO.
  2. Dany Marmur

    SudokuHelper - Example for uncoupled design via interfaces

    @Anders Melander, that is code even i can understand!
  3. I remember this from XE2. I had a small program that removed "ExplicitHeight/Width" IIRC from the dfm's before build. But it was a long time ago, sorry. I do not have the details. HTH.
  4. Dany Marmur

    IB -> FB Data Transfer

    Yes, as above, and IBExpert has well made functionality for the purpose.
  5. Dany Marmur

    Bookmarks dead?

    With the "apparent" HR strategy @emba that should be an easy fix, low hanging fruit and all that... I AM implying that emba has too many "codemonkeys" on each "architect". Flame me. Do.
  6. Dany Marmur

    simple PDF editing need

    The "make image - manipulate image - send" solution re documents is something that has boomed during the pandemic in a host of "digitally sign" services. Taking note on the huge accessibility debate/development/legal/awareness-discourse that i personally is very involved with, i really really hope that such measures will disappear. People who need screen-readers cannot sign legal documents digitally with these solutions. Sure, for the above scenario, the bank requested a fax so any actual text will be destroyed in that step anyway, but who knows, lets hope the bank becomes a modern employer and start employing people that are visually challenged. Or... as already wished for, a more current digital approach. So a bit OT - anyone of you found a digital signing service where the signee can actually read a proper PDF or OOXML document? I have a very interested client (with a limited budget). I am sorry David that i cannot be of more help.
  7. Dany Marmur

    Interbase SQL

    The code with update: How can an alias defined in a subselect be used outside? Why did that not give an SQL exception? I suspect a "bug" in that version of IB, i.e. missed exception. Or do you have a table actually named "T2"? Or anyone with a brain (mine is not turned on) might have an insight.
  8. Dany Marmur

    Delphi compatibility with Windows 11?

    I spent 15 minutes to "find" it again after i noticed it flashing by once. A DX Ribbon app does not display it. Electron (Teams) only sometimes. Some (Delphi) apps are not shown in the "pick" view 😞 But that is for when i have time.
  9. Dany Marmur

    Delphi compatibility with Windows 11?

  10. Dany Marmur

    Delphi compatibility with Windows 11?

    I like the feel a lot. I dislike the fact that they have removed so many shortcuts from W10. Like being able to turn nightlight on/off from the taskbar, i cannot even see what time it is short of 1) looking very close at the bottom right corner or clicking (and loading!!) the widgets. Meh.
  11. Dany Marmur

    Delphi compatibility with Windows 11?

    @Lars Fosdal, what about hovering over the restore/maximise button in your VM. Does the window-layou popover show?
  12. Dany Marmur

    Delphi compatibility with Windows 11?

    That for all win32/64 applications in your VM with Win 11? None? What about Settings and Explorer?
  13. Dany Marmur

    Delphi compatibility with Windows 11?

    I have now upgraded to Win 11. The "rounded corners" is so much more than just rounded corners. It is a lot more than just a look. Skinning in itself will not achieve a proper implementation, at least not in VCL. Applying workarounds will create a havoc similar to High DPI, IMHO. To start with we need the VCL to handle the NC areas properly, Windows App SDK is not just a look. Then moving on to controls and looks within apps, here, skinning might help. But now i am speculating. Without this the VCL will not survive when Win11 comes to offices, IMHO, this is also speculation, but commercial. https://blogs.embarcadero.com/windows-11-a-beautiful-meteor-will-wipe-out-the-dinosaurs/ Oh, hover over the common restore/maximize button if you have Win 11!
  14. Dany Marmur

    Looking for Spreadsheet component

    There are but a very few things i have not been able to tweak/add/implement using DevExpress. 15 years back i had some patching requirements but since a rewrite 4 years back, none, "just" inheritance. I have not used the spreadsheet much, but it would surprise me if your goal could not be achieved - are you stuck in an older DX version?
  15. Dany Marmur

    FDTable filter problem

    Just curious (do not use FireDac), if you have a Query component, why do you need to use a "table" component?
  16. Dany Marmur

    Can't load package

    OT: @Fons N, your profile image is simply brilliant.
  17. Dany Marmur

    Indy OnWork

    Your caption to this topic made me think "Indy Components" FLOSS went "startup". Funny.
  18. Those components come with free support (unprioritized, albeit), [i may be wrong]. Did you contact /n software about this specific problem?
  19. Dany Marmur

    awk-like processor using Delphi code?

    Do check out @Alexander Sviridenkov solutions. It is quite something.
  20. Dany Marmur

    Pos, SplitString

    select [expression] from rdb$database Is not an antipattern IMHO, let's say you just need one of those session/attachment variables. (rdb$database is the dummytabe of the database for FB.) Agreed, that if the result is the same in OP/C#/Clientside/anything it's wasteful. Neat, esp. before the admin tools could do proper trigger/sp debugging.
  21. Dany Marmur

    awk-like processor using Delphi code?

    You could hash some strings. But i would go for a parallel TDictionary of sorts, @Lars Fosdal expressed it concisely enough.
  22. Dany Marmur

    Pos, SplitString

    IBO does, the parsing code is almost on par with the server(s) themselves. CTEs, subselects, singletons, windowing, BLR, returning handling, SUID, parameter types, it knows most of all that stuff, some of it even before preparing (can be a huge performance boon not to have to query the server for everything). FireDAC really really should (no sources, so dunno).
  23. Dany Marmur

    Pos, SplitString

    I don't know shit about FireDAC. But i am intimately knowledgeable about how this problem should be solved and i am SURE FireDAC can provide (as any full-blown DAC - Data Access Component - should). The statement above is key. Any serious DAC have loads of SQL parsing code in order to "pre-empt" the RDBMS API calls. Use it instead of trying to create your own, that code is tested in a way a single "deveoper" cannot do. And, as a last recommendation, never ever use DAC libs (or any other) without sources. If you do, all the fancy stuff will be hidden and you will re-invent lots of wheels.
  24. For example, i just removed a set of an enum. I suppose it's not uncommon to do something like: TMyType = ( mtA, mtB, mtC ); TMyTypes = set of TMyType; Before removing the TMyTypes declaration, i quickly search "project group" to make sure* it is not used. Then i put the cursor on TMyType in order to go down to the first occurrence in the unit, but the MRU handling puts "TMyTypes" there instead. So i go... what?! That cant be right. I open VC and use the search there and of course there are matches. It is ultimately a problem of eye-sight, this was not a problem for me when i had vision or when the screens were XVGA (or some such, don't remember). Is there a QP ticket already? Apologies, but i do not feel at home searching there (unrelated issue). I would vote to have a Ctrl+F press take the text under the cursor verbatim. Or perhaps some plugin of some kind? I'm on 10.4.2. * I have low trust for the IDEs search capabilities. I often switch to VC to do better searches. And in this case there will be a compile error.