ADVMemo Package without TDBAdvMemo

hi,
In the current packge of the TMS AdvMemo 3.5.4.0 there is no TDBAdvMemo in the RegisterComponents of the advmemoreg.pas unit. So using the package installer miss that compoent in IDE palette.

..just as a reminder for fixining it in next version ;)

best regards
markus

In what Delphi version are you using the component?

XE2- but I suggest that all packages uses the advmemoreg.pas unit, so it will miss in all other versions of packagers too. ...as said just as reminder.. for me I fixed it with a manually adding.


the current advmemoreg.pas from 3.5.4

{***************************************************************************}
{ TAdvMemo component                                                        }
{ for Delphi & C++Builder                                                   }
{                                                                           }
{ written by TMS Software                                                   }
{            copyright © 2001 - 2016                                        }
{            Email : info@tmssoftware.com                                   }
{            Web : http://www.tmssoftware.com                               }
{                                                                           }
{ The source code is given as is. The author is not responsible             }
{ for any possible damage done due to the use of this code.                 }
{ The component can be freely used in any application. The complete         }
{ source code remains property of the author and may not be distributed,    }
{ published, given or sold in any form as such. No parts of the source      }
{ code can be included in any other component or application without        }
{ written authorization of TMS software.                                    }
{***************************************************************************}

unit AdvMemoReg;

interface

{$I TMSDEFS.INC}

uses
  Classes,
  AdvMemo,
  AdvmCSS,
  AdvmPS,
  AdvmBS,
  AdvmWS,
  AdvmSQLS,
  AdvmCSHS,
  AdvmPYS,
  AdvmPLS,
  AdvmES,
  AdvmINIS,
  AdvmXML,
  AdvmPHP,
  AdvmLua,
  AdvmJSON,
  AdvCodeList,
  AdvMemoStylerManager
  {$IFDEF DELPHIXE_LVL}
  , AdvMemoPDFIO
  {$ENDIF}
  {$IFDEF DELPHIXE3_LVL}
  , System.Actions
  {$ENDIF}
  ;

procedure Register;

implementation

uses
  ActnList;                                            

procedure Register;
begin
  RegisterComponents('TMS Memo', [TAdvMemo,TAdvMemoSource,
                                  TAdvHTMLMemoStyler,
                                  TAdvJSMemoStyler,
                                  TAdvWebMemoStyler,
                                  TAdvPascalMemoStyler,
                                  TAdvBasicMemoStyler,
                                  TAdvCSSMemoStyler,
                                  TAdvCSharpMemoStyler,
                                  TAdvSQLMemoStyler,
                                  TAdvPythonMemoStyler,
                                  TAdvPerlMemoStyler,
                                  TAdvLuaMemoStyler,
                                  TAdvEmoticonMemoStyler,
                                  TAdvMemoFindDialog,
                                  TAdvMemoFindReplaceDialog,
                                  TAdvCodeList,
                                  TAdvMemoStylerManager,
                                  TAdvINIMemoStyler,
                                  TAdvXMLMemoStyler,
                                  TAdvJSONMemoStyler,
                                  TAdvMemoCapitalChecker,
                                  TAdvPHPMemoStyler]);

  {$IFDEF DELPHIXE_LVL}
  RegisterComponents('TMS Memo', [TAdvMemoPDFIO]);
  {$ENDIF}

  RegisterActions('AdvMemo', [TAdvMemoCut, TAdvMemoCopy, TAdvMemoPaste,
    TAdvMemoDelete, TAdvMemoUndo, TAdvMemoRedo, TAdvMemoSelectAll], nil);
end;

end.



versus the correct advmemoreg.pas from the old 3.5.4

{***************************************************************************}
{ TAdvMemo component                                                        }
{ for Delphi & C++Builder                                                   }
{                                                                           }
{ written by TMS Software                                                   }
{            copyright © 2001 - 2015                                        }
{            Email : info@tmssoftware.com                                   }
{            Web : http://www.tmssoftware.com                               }
{                                                                           }
{ The source code is given as is. The author is not responsible             }
{ for any possible damage done due to the use of this code.                 }
{ The component can be freely used in any application. The complete         }
{ source code remains property of the author and may not be distributed,    }
{ published, given or sold in any form as such. No parts of the source      }
{ code can be included in any other component or application without        }
{ written authorization of TMS software.                                    }
{***************************************************************************}

unit AdvMemoReg;

interface

{$I TMSDEFS.INC}

uses
  Classes,
  AdvMemo,
  AdvmCSS,
  AdvmPS,
  AdvmBS,
  AdvmWS,
  AdvmSQLS,
  AdvmCSHS,
  AdvmPYS,
  AdvmPLS,
  AdvmES,
  AdvmINIS,
  AdvmXML,
  AdvmPHP,
  AdvmLua,
  AdvmJSON,
  AdvCodeList,
  AdvMemoStylerManager,
  DBAdvMemo
  {$IFDEF DELPHIXE_LVL}
  , AdvMemoPDFIO
  {$ENDIF}
  {$IFDEF DELPHIXE3_LVL}
  , System.Actions
  {$ENDIF}
  ;

procedure Register;

implementation

uses
  ActnList;                                            

procedure Register;
begin
  RegisterComponents('TMS Memo', [TAdvMemo,TAdvMemoSource,
                                  TDBAdvMemo,
                                  TAdvHTMLMemoStyler,
                                  TAdvJSMemoStyler,
                                  TAdvWebMemoStyler,
                                  TAdvPascalMemoStyler,
                                  TAdvBasicMemoStyler,
                                  TAdvCSSMemoStyler,
                                  TAdvCSharpMemoStyler,
                                  TAdvSQLMemoStyler,
                                  TAdvPythonMemoStyler,
                                  TAdvPerlMemoStyler,
                                  TAdvLuaMemoStyler,
                                  TAdvEmoticonMemoStyler,
                                  TAdvMemoFindDialog,
                                  TAdvMemoFindReplaceDialog,
                                  TAdvCodeList,
                                  TAdvMemoStylerManager,
                                  TAdvINIMemoStyler,
                                  TAdvXMLMemoStyler,
                                  TAdvJSONMemoStyler,
                                  TAdvMemoCapitalChecker,
                                  TAdvPHPMemoStyler]);

  {$IFDEF DELPHIXE_LVL}
  RegisterComponents('TMS Memo', [TAdvMemoPDFIO]);
  {$ENDIF}

  RegisterActions('AdvMemo', [TAdvMemoCut, TAdvMemoCopy, TAdvMemoPaste,
    TAdvMemoDelete, TAdvMemoUndo, TAdvMemoRedo, TAdvMemoSelectAll], nil);
end;

end.


The registering of the Component TDBAdvMemo is still missing in the current 3.5.4.1 package.
You still have to add that component manually in the advmemoreg.pas as described above.
...just as reminder ;)

Thanks for reminding. We'll make sure this is addressed once and for all.

This is fixed but note that the registration for TDBAdvMemo is done via the file DBAdvMemoReg.pas in the package. AdvMemoReg.pas does the registration of the non DB-aware components.