INSTRUCTION TO UPGRADE FORMS (.DMF) FILES CONTAINING AC COMPONENTS v2.x
TO v3.x components.

1) Install the new components in Delphi closing all applications loaded before.

2) Open each .DMF file from Delphi

        File -> Open -> file kind -> 'Delphi form (.dfm)'

   and change the components property as in example.


  a) For buttons options like:

        ButtonTabStop = False
        CanClear = True
        CanPopup = True
        CanValidate = True
        EditEnabled = True

     substitute with:

       ButtonsOptions = [??ButtonTabStop, ??CanClear, ??CanPopup, ??CanValidate,
                         ??EditEnabled]


  b) For ShortCuts options like:

         ShortCutAddAlt = True
        ShortCutAddCtrl = False
          ShortCutClear = 120
          ShortCutPopup = 121
       ShortCutValidate = 122

     substitute with:

        ShortCuts.AddAlt = True
        ShortCuts.AddCtrl = False
        ShortCuts.KeyClear = 120
        ShortCuts.KeyPopup = 121
        ShortCuts.KeyValidate = 122


  c) For OnValidate event:

        OnValidate = edit1Validate

     substitute with:

        OnValidateClick = edit1Validate


  d) For Edit Options like:

        CheckMethod = cmNone
        DialogCaption = 'List'
        PopupFirst = True
        PopupHeight = 300
        PopupWidth = 200

     substitute with:

        EditOptions.CheckMethod = cmNone
        EditOptions.DialogCaption = 'List'
        EditOptions.PopupFirst = True
        EditOptions.PopupHeight = 300
        EditOptions.PopupWidth = 200


  e) For Source Options like:

        LookupDatabaseName = 'DBDEMOS'
        LookupTableName = 'tvalute'
        LookupFieldName = 'CODE'
        LookupFieldNames.Strings = (
          'CODE'
          'DESC1')
        LookupFieldTitles.Strings = (
          'Code'
          'Description')
        SQL.Strings = (
          'SELECT'
          'CODE,'
          'DESC1'
          'FROM tvalute'
          'AS tvalute')
        Compiled = True

     substitute with:

        SourceOptions.SourceDatabaseName = 'DBDEMOS'
        SourceOptions.SourceTableName = 'tvalute'
        SourceOptions.ReturnField = 'CODE'
        SourceOptions.SourceFieldNames.Strings = (
          'CODE'
          'DESC1')
        SourceOptions.SourceFieldTitles.Strings = (
          'Code'
          'Description')
        SourceOptions.SQL.Strings = (
          'SELECT'
          'CODE,'
          'DESC1'
          'FROM tvalute'
          'AS tvalute')
        SourceOptions.SQLCompiled = True

  ...and so on

3) Select 'Show as form' clicking the right button on the edit area to test
   your changes.
   If all ok save the unit.

4) After all work reopen the project

  Hoping this may help,

  Andrea Carli
