Random Skins every time I hit run(F9)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #33439
    Gus Ari
    Participant

    Hi everyone..
    I've already installed Alphaskins to my Borland C++ and it works well.
    I want to know what code is used to randomly load / render (different skins every time it loads the project) the skins every time I hit run (F9) on my Borland C++.

    Best regards.

    #41211
    Support
    Keymaster

    Hello

    Try to use sSkinManager1.GetRandomSkin function, random accessible skin will be returned.

    #41216
    Gus Ari
    Participant

    QUOTE (Support @ Dec 8 2009, 11:16 PM) <{POST_SNAPBACK}>
    Hello

    Try to use sSkinManager1.GetRandomSkin function, random accessible skin will be returned.

    thanks for the clue..but can you explain me more detail?

    because when I attemp to put that code, it goes an error

    maybe, the full code

    #41253
    Support
    Keymaster

    Please write the text of received error.
    Try this code : sSkinManager1.SkinName := sSkinManager1.GetRandomSkin;

    #41264
    Gus Ari
    Participant

    QUOTE (Support @ Dec 10 2009, 09:17 PM) <{POST_SNAPBACK}>
    Please write the text of received error.
    Try this code : sSkinManager1.SkinName := sSkinManager1.GetRandomSkin;

    CODE
    'GetRandomSkin' is not a member of 'TSkinManager'

    that's the error…there's no member named GetRandomSkin…how can I to get this function??

    or there's another different way??

    btw, I use this version AlphaControls 2009 v6.41 trial edition
    thx in advance

    #41267
    Sereby
    Participant

    this function was added in v6.42.

    Use the newest stable version v6.48

    #41299
    Gus Ari
    Participant

    QUOTE (Sereby @ Dec 11 2009, 03:21 PM) <{POST_SNAPBACK}>
    this function was added in v6.42.

    Use the newest stable version v6.48

    Hi..I already use version 6.48 trial..but still can't find function GetRandomSkin, why it was happened?
    What should I do?

    Is this happened because I am using the trial version?

    regards

    #41345
    Support
    Keymaster

    GetRandomSkin is a method of the TsSkinManager component since version 6.42.

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