Jump to content

dummzeuch

Members
  • Content Count

    2637
  • Joined

  • Last visited

  • Days Won

    91

Posts posted by dummzeuch


  1. 34 minutes ago, shineworld said:

    I have a lot of very big projects made with Sydney and moving them to Athens will be a long path ( a lot of 3rd parties libraries to install).
    Can I install Athens on the same PC where Sydney works ?
    If YES, are there some types of attention to be kept?

    You can install all main versions of Delphi in parallel. Since Delphi 10.4 (Sydney) and Delphi 12 (Athens) are both main versions, you are fine.

    Note though, that Delphi 12 will register itself for opening all Delphi related files so double clicking on a project will open it in Delphi 12 which might not be what you want.

     

    (All 10.x Versions (10.0 .. 10.4) were main versions, 10.x.y versions were updates to 10.x. Fortunately Embarcadero has stopped this silly numbering scheme now, but we have to live with that legacy.)

    • Like 1

  2. 34 minutes ago, PeaShooter_OMO said:

    Pointers should not be avoided and I highly suggest programmers should learn to use them properly and embrace them. They can make life so much easier.

    Pointers have their uses, but they come with risks.

     

    Skilled programmers know how and when to use them, but most important, they don't use them when they are not necessary. They also know that pointers can make debugging hell.

     

    Unfortunately there are many programmers who use pointers where they are not necessary. Of course they still think they are skilled, because they use pointers.


  3. Are you talking about just the tabs for Code, Design and History? No, these cannot be hidden.

     

    But if you are talking about the docked windows below that, containg messages, refactoring etc, you can undock that window and dock it somewhere else (I dock most of these on the right hand side) or simply close it. Don't forget to save the desktop otherwise it will pop up again any time the desktop is loaded.


  4. Is that just me or is Delphi adding itself to the main list of the Windows Start menu every time the IDE is started?

     

    Is there an option to disable this annoying behaviour? My start menu is full enough, I don't need additional entries that come back even when deleted.

     

     


  5. That's actually the same frame which is shown in these two dialogs. If a project is loaded, you are viewing and possibly changing the project's configuration. If no project is loaded, you are viewing and changing the default packages loaded by the IDE without a project and for new projects. As far as I remember that has always been the case.

     

    (Or I might have misunderstood you.)


  6. 3 hours ago, FreeDelphiPascal said:

    Other proposals then?

    If we cannot do anything, then Embarcadero owns us.

    They do. As long as you haven't got an alternative development environment for the work you rely on, you will have to pay for Delphi or stay with an older version.

    • Like 3

  7.  

    11 minutes ago, Andrew Spencer said:

    Why is this not functioning in the same way as if the type declaration was in the unit itself?

    That's for historical reasons. And with the "new" strict keyword even this can be prevented.

    If you only want to access the Canvas property you can change your TGetCanvas class to this:

    type
      TGetCanvas = Class(TCustomControl)
      published
        property Canvas
      end;  

    This is used by all the classes that derive from TCustomControl to publish protected Canvas property, so it will always work.

    • Like 1

  8. 10 hours ago, JonRobertson said:

    But I do not care for the Delphi IDE integration. I use the Explorer integration and have TortoiseGit configured to use BC.

    I wrote my own IDE "integration" using the tools menu a few years ago. Scooter Software actually contacted me about it when they ware approached by Embarcadero to license BC for the IDE integration. I like to think that my simple work was what sparked the idea.

    Having said that I don't like the IDE integration either. Its complicated to use.


  9. 8 hours ago, JonRobertson said:

    I have Beyond Compare installed with Delphi IDE integration. Unfortunately I am not a fan of BC's Delphi integration. It has bit me more than once.

    Did you know that the limited Beyond Compare that comes with Delphi, can be used to show the differences of two arbitrary files? Just start it with parameters or even just start it and use drag and drop to diff the files. I have even configured it in TortoiseSVN as the diff viewer.


  10. I've moved this to a new topic because it is not much related to Delphi 12 being released.

    1 hour ago, Dalija Prasnikar said:

     

    2 hours ago, dummzeuch said:

    OK, so what are examples for editors that are not "stuck in the Stone Age"?

     

    Anything from JetBrains... 

     

    I am not saying that Delphi is stuck in the Stone Age... but it is lagging behind in some areas.

    OK, I bite: What's your favorite feature(s) in a JetBrains editor that Delphi does not offer? (Excluding things that Delphi offers but that don't work.)


  11. 1 hour ago, Miko330 said:
    
    try
       var a := 2;
       test(a);
    finally
    end;

    becomes :

    
    try
    var a:=2;
       test(a);
    finally
    end;

    I don't know if this is the right method:

    after adding 2 lines in 'GX_CodeFormatterFormatter.pas' at line 1633

    -------------------------------------------------------------------------

    
                 end else if (FPrevToken.GetExpression(exp) and SameText(exp, 'for')) then begin
                   // for with inline var declaration
                 end else if (fStack.GetTopType = rtTry) then begin
                   // inline var declaration inside Try/finally block
                 end else begin

    ---------------------------------------------------------------------------

    everything becomes good with the right indentation inside Try/Finally.

     

    Just to confirm: Your first example is how you think it should be formatted?


  12. HKLM\Software\Microsoft\Windows NT\CurrentVersion

    ProductName: REG_SZ

     

    On my Windows 10 pro it says "Windows 10 pro".

    There are several other entries that might be of interest, e.g. DisplayVersion="22H2".

     

    Of course this can easily be manipulated by an administratorl


  13. 49 minutes ago, FreeDelphiPascal said:

    some of them (like multi line strings or colored lines between begin/end) were already availalbe since 100 years ago via IDE plugins.

    Which plugin provided multiline strings? Or are you talking about the property editor for multipline strings?

×