Jump to content

Ian Branch

Members
  • Content Count

    1435
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Ian Branch


  1. FYI-

    Using Delphi 12.1, no earlier.

    Just some of the 3rd Party libraries/components in use att.

    ElevateDB v 2.38 b2 - 16/12/2023
    FastMM5 - Updated 24/08/2024
    LMD Controls v 2024.4 - 06/07/2024
    RosiComp Controls v 17.7 - 12/03/2024
    EurekaLog v 7.12.0.634 B7 - 04/082024
    Report Builder v 23.05 - 20/072024
    nlhComponents v 1.0 – 18/08/2022
    TeeChart v 9.0 – 28/02/2023
    Infopower v 23.0.2.5 - 07/08/2024
    TMS VCL UI Pack v 13.1.7.0 - 14/08/2024
    Raize Components v 7.0 - 26/08/2021
    SVGIconImageList - Updated 14/08/2024
    ZylSoft IdleTimer v 1.49 - 26/11/2022
    Drag&Drop Components - Updated 13/01/2024
    ThinFinity v 3.5.1.100 - 17/02/2024
    SmartInspect v 3.5.0.58 - 18/10/2023
    SMExport v 4.99 - Scalabium Software - 20/08/2024


  2. Hi Guys,

    Thank you for your inputs.  Appreciated.

    The methodology was developed for a specific purpose, to determine the User's choice before the form was constructed/shown.

    I use it in multiple Apps.  Some where there is only one form, others where the form is called from a menu.

    It does exactly what I wanted/needed.

    The idea of returning to the Dialog was just a whim I had to make things a little simpler for the User.

    FYI:  The Dialog looks roughly like this, depending on the App:

    image.thumb.png.8bdd50520022616ae25b4192a8899a18.png

    I have scrapped the 'whim'.

     

    Regards,

    Ian


  3. Hi Uwe,

    Yes that is correct however the added convenience of the added menu option was vey convenient.

    I construe from your response that it wasn't part of MMX.

    It has been part of my menu for so long I have forgotten where it came from/what put it there.

    I shall look elsewhere..

    Thank you for responding.

    Ian


  4. Hi Team,

    D12.1

    I may have the wrong tool but I used to have an option at the bottom of the IDE Projects sub menu that allowed me to manage the file version information.

    I thought it was MMX but I may have that wrong.

    Anyway, that option has disappeared. 😞

    Can anybody advise?

     

    Regards & TIA,

    Ian


  5. Hi Team,

    I have the following constructor:

    ...
    ...
    private
        procedure LoadFilter;
      public
        wwSaveFilter1: TwwSaveFilter;
        constructor Create(AOwner: TComponent); override; // called before "FormCreate()"
      end;

    The code is this:

    constructor TChangesLogForm.Create(AOwner: TComponent); // called before "FormCreate()"
    begin
      inherited;
      //
      var lCloseForm := False;
      //
      case JSDialog1.Execute of
        100:
          begin
            ChangesLog.TableName := 'ChangesLog';
            iTable := 100;
          end;
        200:
          begin
            //
            BePatientWarningArchive;
            //
            ChangesLog.DatabaseName := 'DBiArchive';
            ChangesLog.TableName := 'AChangesLog';
            iTable := 200;
          end;
        300:
          begin
            //
            BePatientWarningBoth;
            //
            ChangesLog.TableName := 'vAllChangesLog';
            iTable := 300;
          end;
        400: lCloseForm := True;
        //
      end;
      //
      if lCloseForm then Abort;
      //
    end;

    JSDialog1 is a LMD Dialog.

    Based on this the indicated table is opened.

    ATT when the User is done he has to close the form and reopen it to look at a different table.

    How can I return to this input dialog when the User is finished with that Table?

    The idea is that the User could then select another Table or Exit/Close the form.

     

    Regards & TIA,

    Ian


  6. Hi Team,

    I am rebuilding my PC. 😞

    Fortunately I have backups. 🙂

    I can recover my Codesnip data files if someone can tell me:

    a.  Where they are kept; and

    b.  What their file extent looks like/is.

     

    Once I have the right information I can restore the relevant directories.

     

    Regards & TIA,

    Ian


  7. A further observation:

    I mentioned above that if I open a project group and Build and/or Compile it, all is well.

    I just discovered that if I open the project group, and open one of the files of one of the projects in the IDE, and try to Build/Compile, I get the poor response from the IDE and the Build/Compile.  😞

    If I then close that file in the IDE and right click on that same project, the Build/Compile is normal.


  8. Hi Team,

    D12.1, Win 11, 32bit Apps.

    I have something strange happening when Compiling or Building in the IDE.

    If I load a Project Group and Compile or Build, it runs through and completes quickly as normal.

    If I load one of those projects from the Project Group on its own, the IDE seems to take snail pills and slows down both in response and in compling & building.

    To the extent that after editing the project, it is quicker to close it, load the project group and compile/build it...

    I thought it might have been a plug-in but I have disabled all of them and have the same result.

    I thought it might have been my AC so I disabled it, same result.

    Anybody had this issue?

    Anybody got any thoughts/suggestions as to where to look?

     

    Regards & TIA,

    Ian


  9. 2 minutes ago, havrlisan said:

    The TDataModule has a published property ClassGroup, check if that's set to VCL (because TSVGIconImageCollection is VCL only).

    This is the code for the Datamodule:

    unit dmImages;
    
    interface
    
    uses
      System.SysUtils, System.Classes,
      Vcl.BaseImageCollection,
      SVGIconImageCollection,
      GITLAKLib;
    
    type
      TdmI = class(TDataModule)
        SVGIC: TSVGIconImageCollection;
      end;
    
    var dmI: TdmI;
    
    implementation
    
    {%CLASSGROUP 'System.Classes.TPersistent'}
    {$R *.dfm}
    
    end.

    It is working fine as is att using SVGIconsImageList from GitHub.

     

    Ian


  10. Hi Team,

    I have downloaded and installed SVGIconsImageList from GitHub.

    No issues there.

    The components are appearing in most of my Apps projects under the Design tab components except for one form in a project.  A Datamodule.

    It is fine if/when I install SVGIconImageList via GetIt.

    What could be causing them to be missing from just the one form on the one project?

    It is complaining that Class TSVGIconImageCollection is not found.

     

    Regards & TIA,

    Ian


  11. Hi Team,

    D12.1

    A 3rd Party IDE plug in on GitHub pricked my interest.

    I downloaded, built and installed it.

    As it turns out, it isn't of any use to me.

    I can't find any mechanism to remove it.

    I could delete the .bpl. but will probably end up with error messages when i start the IDE.

    I found an entry in the Registry but: a.  I am unsure if it is the right/only one to delete.  b.  I am leary of doing so on spec as I have been bitten a couple of times previously playing in the registry.

     

    What is the best/safest method to remove it please?

     

    Regards & TIA,

    Ian

×