Reference TFrameConverter
Declared in Codebot.Frame.Converter.pas on line 46
TFrameConverter converts a form or frame of the designer into the source of a control
TFrameConverter = class
public
{ Creates a converter for the form or frame Root of the designer, whose unit
is FileName, using the choices of the convert dialog }
constructor Create(Root: TComponent; const FileName: string; const Options: TConvertOptions);
destructor Destroy; override;
{ Converts the form or frame. Returns False if it could not be converted,
with the reason in Error. }
function Execute: Boolean;
{ The source of the new unit }
property UnitSource: string read FUnitSource;
{ The properties which are stored in the resource file of the unit }
property Resources: TPropertyResources read FResources;
{ What the user is told about the conversion }
property Messages: TConvertMessages read FMessages;
{ The units of the classes of the components, which must be found in an
installed package }
property ComponentUnits: TStringList read FComponentUnits;
{ The units in the uses clauses of the new unit }
property UsedUnits: TStringList read FUsedUnits;
property Error: string read FError;
end;See also
TConvertOptions in Codebot.Frame.ConvertDialog.pas
TPropertyResources in Codebot.Frame.Resources.pas