how to change the skin of the form

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #34645
    Jore
    Participant

    Hello everyone,

    I would like to know how to change the skin of the form.

    I want to put a component where I can choose a new skin for my project.

    someone has a tutorial that can help me?

    Thank you very much

    #46133
    Support
    Keymaster

    Hello.

    You read the “Getting started” part in the help-file?

    #46083
    Jore
    Participant

    I already know to install the alpha control.

    I want to be able to exchange the skins using a sCombobox.

    Does anyone have a tutorial to teach me how to do this?

    see my project on the link below

    My Skin Alpha Control

    Thank you very much

    #46059
    Support
    Keymaster
    'Jore' wrote:
    I want to be able to exchange the skins using a sCombobox.

    You can find an example in the ASkinDemo project. You saw that?

    #46107
    Jore
    Participant

    Yes I saw.

    But there's something wrong going on that is not working out my code.

    see my example on the link below.

    Thank you!

    My link

    Obrigado!

    #46153
    Jore
    Participant

    Please someone help me

    #46159
    Jore
    Participant

    Please someone help me

    #46181
    Support
    Keymaster

    Hello

    Try this code :

    Code:
    procedure TForm1.sComboBox1Change(Sender: TObject);
    var
    IniFile : TIniFile;
    begin
    sSkinManager1.SkinName := sComboBox1.Text;
    end;

    Be sure that sSkinManager1.SkinDirectory is initialized correctly.

    And why you have added ' (internal)' in combobox items? Your project haven't internal skins with such names.

    And why you not uses a sample from the ASkinDemo project?

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.