[Lazarus] TProjectDescriptor doubt

silvioprog silvioprog at gmail.com
Tue Jan 24 02:16:31 CET 2012


Hello,

It's possible to clear the icon of the project, and change the
"Application Settings"? Please see: http://imagebin.org/195178

So, it's possible don't generate the "{$R *.res}" directive? See:
http://imagebin.org/195179

The supposed configuration would be:

(...)
function TFoo.InitProject(AProject: TLazProject): TModalResult;
var
  LE: ShortString;
  VSource: string;
  VProject: TLazProjectFile;
begin
  Result := inherited InitProject(AProject);
  VProject := AProject.CreateProjectFile('cgi1.lpr');
  AProject.AddFile(VProject, False);
  AProject.AddPackageDependency(SLWS);
  VProject.IsPartOfProject := True;
//  AProject.Icon.Clear; <<-- Here...
//  AProject.UseAppBundle := False; <<-- Here...
//  AProject.UseManifestFile := False;
(...)

There is some documentation for TProjectDescriptor?

Sorry for my english.

Thanks,

-- 
Silvio Clécio
====================================
Site - <silvioprog.com.br>
LazSolutions - <code.google.com/p/lazsolutions>
====================================




More information about the Lazarus mailing list