Programmatically create a skinmanager

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #33124
    Peter
    Participant

    I have the following code in my form:

    var
    sm : TsSkinManager;
    begin
    sm := TsSkinManager.Create(Self);
    sm.SkinDirectory := GetCurrentDir;
    sm.SkinName := 'Neutral4_RBK.asz';
    sSkinProvider.SkinData.SkinManager := sm;
    end

    Now before I even reach this code, the application raises an error while starting up:
    “Project FobisStam.exe raised exception class EClassNotFound with message 'Class TsSkinManager not found'.;

    Can anyone tell me what I'm doing wrong?
    Tnx in advance!

    EDIT: Nevermind! I was making some stupid mistakes

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