Alphaskin on windows 7

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #49032
    CheshireCat
    Participant

    Hello

    If your application compiles without internal skins, the folder with all or selected skins must be added to the installer.

    Here an example for Inno Setup:

    Code:
    [Files]
    // zusätzliche Skins installieren
    Source: “C:UserDelphi_ProjectsYour_Appskins*”; DestDir: “{app}Skins”; Flags: ignoreversion recursesubdirs

    In the OnCreate event you can set the correct path to the skin folder:

    Code:
    procedure TForm1.FormCreate(Sender: TObject);
    var
    aPath: string;
    begin
    aPath := IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName));
    sSkinManager1.SkinDirectory := aPath + 'Skins'
    end;

    end.

    Best regards

    Sascha

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.