Mida Converter

Mida Community Forum => General Discussion => Topic started by: Lenfors on November 30, 2015, 09:55:47 am

Title: Uses stripped from converted units
Post by: Lenfors on November 30, 2015, 09:55:47 am
Hello!

As you can se in my example code the Mida converter just stripps out some "uses" in the conveted code. Below
For example I had TeeMagnifyTool and TeeGanttTool in my uses list, but after conversion they are gone.
My converted project has houndreds of units and this problem is everywhere. How can I fix this?

Best regards, Mikael

----

unit RadarChartUnit;
interface
//** Converted with Mida 520     http://www.midaconverter.com - MIKAEL.LENFORS
Uses
  System.SysUtils,
  System.Types,
  System.UITypes,
  System.Classes,
  System.Variants,
  System.IniFiles,
  Data.DB,
  FMX.Types,
  FMX.Controls,
  FMX.Forms,
  FMX.Dialogs,
  FMX.Objects,
  FMX.Menus,
  FMX.Grid,
  FMX.ExtCtrls,
  FMX.ListBox,
  FMX.TreeView,
  FMX.Memo,
  FMX.TabControl,
  FMX.Layouts,
  FMX.Edit,
  FMX.Platform,
  FMX.Bind.DBEngExt,
  FMX.Bind.Editors,
  FMX.Bind.DBLinks,
  FMX.Bind.Navigator,
  Data.Bind.EngExt,
  Data.Bind.Components,
  Data.Bind.DBScope,
  Data.Bind.DBLinks,
  Datasnap.DBClient,
  _Mida_FM_Lib,
  FMXTee.Chart,FMXTee.Procs,FMXTee.Series,FMXTee.Engine,FMXTee.RadioGroup,
  Fmx.Bind.Grid,
  System.Rtti,
  System.Bindings.Outputs,
  Data.Bind.Grid,
  Fmx.StdCtrls,
  FMX.Header,
  FMX.Graphics,
  LanguageUnit,
  ParametersUnit,
  RadarInfoBoxUnit;
//**   Original VCL Uses section :
//** WINDOWS, MESSAGES, SYSUTILS, VARIANTS, CLASSES, GRAPHICS, CONTROLS, FORMS,
//**      Dialogs, Menus, TeeComma, TeeTools, TeeMagnifyTool, TeeGanttTool, TeEngine,
//**      StdCtrls, ComCtrls, ExtCtrls, TeeProcs, Chart, ParametersUnit, GanttCh,
//**      LanguageUnit, Series, Math, RadarInfoBoxUnit, TeExport, TeeEdit,
//**      TeeJPEG, TeeGIF, TeePNG, TeePCX, TeePDFCanvas, TeeGDIPlus, ActnList,
//**      PlatformDefaultStyleActnCtrls, ActnMan, ToolWin, ActnCtrls, System.Actions;

Title: Re: Uses stripped from converted units
Post by: MauroBotta on December 01, 2015, 12:06:48 am
Hi

Mida can not know if the units are compatible with FireMonkey.

If a unit is in the project / directory, it is maintained in the USES section.

in another case it is placed in a zone below (rem),  There is not available a white list of personal units (for now).