Skinning of own components

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #34678
    ralfiii
    Participant

    Is it possible to make an own component skinnable?

    I am in the process of skinning an existing application. Most of the components are standard VCL and skinned correctly, but there is at least one component (the Jedi JVCL TJvRollOut component) that is used very often throughout the application that is not skinned and looks ugly then.

    (There might be 2 or three other non-standard components as well, the TJvRollOut is the first one I found and for me the most important one so I start with that one).

    (How) Can I make changes to that component in a way so that it is skinned automatically by AlphaSkins?

    Thanks,

    Ralf

    #46298
    HeDiBo
    Participant

    Since TJvRollOut descends from TCustomPanel, you might try to add it to the list of ThirdParty controls as a Panel component.

    #46299
    ralfiii
    Participant
    'HeDiBo' wrote:

    Since TJvRollOut descends from TCustomPanel, you might try to add it to the list of ThirdParty controls as a Panel component.

    Doesn't work as then the title area is not draw unless you hover the mouse over it.

    (see attached picture, right pic. made after hovering over)

    #46300
    HeDiBo
    Participant
    'ralfiii' wrote:

    Doesn't work as then the title area is not draw unless you hover the mouse over it.

    You may need some extra work, for instance in the OnPaint event. I'm lost here 😮

    Serge, any ideas?

    #46340
    Support
    Keymaster
    'HeDiBo' wrote:
    You may need some extra work, for instance in the OnPaint event. I'm lost here 😮

    This title will not be drawn automatically.

    Ralfii, if you want we can talk later via ICQ or Skype, maybe some solution will be found.

    (Nearest several weeks I'll be on vacation).

    #46344
    ralfiii
    Participant
    'Support' wrote:

    Ralfii, if you want we can talk later via ICQ or Skype, maybe some solution will be found.

    I've sent you my skype-ID via PM

    Thanks!

    #38355
    guyinwonder
    Participant
    'ralfiii' wrote:

    I've sent you my skype-ID via PM

    Thanks!

    does the result on how to skinning TJVRollout not share-able ?

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