Jump to content


Popular Content

Showing content with the highest reputation since 06/21/19 in all areas

  1. Dave Nottage

    New Inline variables mess up IDE

    ..or not declare vars inline 🙂
  2. Marco Cantu announced FmxLinux is available for all developers using the Enterprise or Architect versions of Delphi or RADStudio. So go "GetIt"! Read more about it here: https://community.idera.com/developer-tools/b/blog/posts/announcing-fmx-linux-bundling-with-delphi-and-rad-studio Discuss it right in this thread.
  3. Alexander Elagin

    FmxLinux bundling with Delphi and RAD Studio

    I felt the same when AnyDAC, now FireDAC, was sold to EMB (or whatever was its name back then) when I just paid its renewal for another year. Needless to say I never got my money back nor got access to FireDAC which I avoid since then because of such attitude. Luckily, DevArt (UniDAC) offered a great alternative. I just hope that FmxLinux and CrossVCL will remain property of KSDev.
  4. @Donald Shimoda There is no need - and in this community especially no room - for personal attacks. Being upset is one thing, but insulting does not help anyone.
  5. dummzeuch

    How do you organize units, forms?

    One of the first things I do is delete those annoying comments the IDE inserts: Private/Protected etc. declarations. Apart from that I sometimes use the GExperts sort expert to sort the methods inside a section alphabetically. But normally I just let the IDE put them in whatever order it uses.
  6. Bill Meyer

    Best delphi so far?

    As to the class constants, I must assume it is a defect in the IDE which is tied to the parser used for code completion. In my comments, I did not say that the tools do not work; I did identify factors which affect performance. There may well be other strategies which might be applied to avoid the issue with search path, but I consider it poor practice not to name all your own units as members of the project. Unit dependency cycles are a whole other issue. I can suggest you watch Anders Hejlsberg's video on modern compiler construction. Or just consider with a whiteboard what happens with a small collection of units (A, B, C, D) when: A uses B, B uses C, C uses A and B uses D, but D uses A and B. It's a mess, and when you consider a larger application, the mess is multiplicative. If you see no reason for the result, I submit you may have spent little time understanding the process. I have spent a number of years dealing with legacy code in large projects, and untangling things is a challenge.
  7. John Kouraklis

    SVG Magic released

    @jeanmilost One question comes to mind...why is this not a FMX component? As someone who is trying to do some cross-platform work in Delphi, many times I feel the second-class relative here
  8. PeterBelow

    Marking of the main form in a multiform VCL Application

    If you want to submit a feature request please do so on quality.embarcadero.com. Posting such requests here has no effect other than spawning endless discussions which serve no purpose, IMO, since this is often mostly about a purely personal preference.
  9. Stefan Glienke

    FmxLinux bundling with Delphi and RAD Studio

    It still baffles me that DXScene or VGScene were usable given the years it took FMX to properly work.
  10. PeterPanettone

    Bug in Delphi CODE INSIGHT?

    I also always try to avoid Πρόωρη εκσπερμάτωση.
  11. Arnaud Bouchez

    FmxLinux bundling with Delphi and RAD Studio

    I don't see this announcement as a good sign. From the management/project point of view, they bought a license from the FMX initial developper, who left EMB last year (IIRC) to re-create his own company https://www.fmxlinux.com - EMB dev team was not able to do it on their own anymore. Sad. I worry about Delphi future if they need to rely on external coders for new targets or features. From the technical point of view, Linux was supported - with FPC as compiler - 10 years ago http://web.archive.org/web/20091213100642/http://www.ksdev.com/dxscene/index.html when FMX was called DXScene. So is it a real progress to be able to have back a feature I got 10 years ago, when I bought my lifetime licence to DXScene? BTW the "LifeTime" of my DXScene license did last 1 year only, since it stopped when EMB bought DXScene - I really felt it was some kind of theft at that time. Now their "LifeTime" license is $349 - I really wonder if it is worth it...
  12. Georgge Bakh

    Best delphi so far?

    Honestly, I see no reason why these things should cause slowing down or breaking of code tools. Code tools must work regardless of code style used.
  13. Schokohase

    Helper trick ;-)

    No, I stopped you before you hit the wall - I saved your day
  14. Sherlock

    CDATA CSV Component

    But I do hope it's either free, or very inexpensive. Importing CSV is far from being magic. It's more like splitting a String into a TStringlist and trying some StrToInt or StrToFloat... Otherwise, try looking into these threads from the mother ship https://www.delphipraxis.net/51457-csv-editor.html https://www.delphipraxis.net/158355-csvviewer-zum-betrachten-von-csv-dateien.html
  15. WillH

    Best delphi so far?

    Hi All, Thanks for the replies. I'm currently using Delphi XE. It's worked well for me, fairly quick, mostly stable, gets the job done. Now I have third party component vendors providing features I need but only for newer Delphi versions. XE2 is supported at the moment but I imagine it will be next for the chop. I've tried 10.2.3 which seems OK but it is so slow, especially in the forms designer. I'll try the others mentioned in this thread to see if they are any better. At least I won't need to install and try every single version since XE. It's interesting that most people seem to prefer the very old versions of Delphi and *almost* universally dislike 10.3.1. That is surely something that Embarcadero need to focus on. If their focus is on extracting as much money as possible from existing customers, I would imagine that no new feature (or skin) would beat a stable and responsive IDE.
  16. Schokohase

    Marking of the main form in a multiform VCL Application

    I choose my main form not by random or by accident. I know which one is the main form and usually I name it TMainForm and store it in the unit <AppName>.Forms.MainForm - why should I choose a different name? So, no, it would be of no use for me
  17. PeterPanettone

    GExperts SourceExport problem

    I have filed a bug report here: https://sourceforge.net/p/gexperts/bugs/128/ The bug report has also the WinWord document file attached with which the bug can be reproduced.
  18. The documentation is misleading there. The command line switch for not loading the last project is -np.
  19. Dalija Prasnikar

    FmxLinux bundling with Delphi and RAD Studio

    How to rework FMX? Burn it down and start fresh, with people who know how to properly structure GUI framework, would be the only proper choice. Not the viable one though.
  20. Remy Lebeau

    Best delphi so far?

    Yes, sadly. In my experience, XE2 is quite stable. Although I do have newer versions installed in VMs, I never really used any of them. I never upgraded my projects beyond XE2.
  21. Rollo62

    Best delphi so far?

    My favorite is always current version + 1 since Embt was getting so eager in evolving new features and fixing bugs. There were other days were this was not always the case.
  22. Dalija Prasnikar

    FmxLinux bundling with Delphi and RAD Studio

    There are several things to consider here kitchen sink design... while it may look like working in proof of concept scenarios, it is hard to extend its functionality without breaking something originally it was meant to be fast vector based UI framework, and then it got a whole load of styling and pixel perfect baggage - combine that with 1. result is bugs and slow performance proof of concept library with limited set of widgets is easier to put together, to cover all that is needed to make usable cross-platform apps, FMX had to be extended with many additional widgets, behaviors, functionality - combine that to 1 and 2 - again bugs... different memory models on Windows and mobile platforms made it harder to debug various issues and aspects - more bugs FMX significantly improved over the years, but its original kitchen sink design is still holding it back. FMX on Linux is good (great) move considering the developer's needs. I just wonder how many kitchen sinks Embarcadero bought this time around.
  23. Like Remobjects ? https://blogs.remobjects.com/2018/03/22/delphi-visual-library-on-webassembly-platform/
  24. It always depends on particular situation. Both composition and inheritance have their place. Sometimes you can use either, sometimes there is a clear distinction. Some tips that can help you decide. IS-A - inheritance - Sword IS-A Weapon so Sword should inherit Weapon HAS-A - composition or aggregation - Unit HAS-A Weapon so Unit can be composed with Weapon object With simple classes that satisfy IS-A condition plain inheritance will do. With more complex classes, you may want to use composition or delegate some behavior to other classes, especially if that behavior can be reused independently. Delegation - delegate behavior to another class when it is not an objects responsibility to implement behavior on its own Composition - when object is gone the composed objects are also gone - when Pizza is gone so are the ingredients Aggregation - class is used as a part of another class, but still exists outside that other class - when Unit dies Weapon still exists