Shade speedbutton sideways?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34893
    ralfiii
    Participant

    Hello!

    In my application I need a nice graphical version of radiobuttons.

    As a first try I've used speedbuttons to do that (see attached image “SpeedButtons.png”).

    However, that is OK, but it could look A LOT cooler.

    So I've played around a bit more and found a way that really looks nice.

    (see 2nd image “ShadedButtons.png” – when you hover over the button or when the button is selected, then there's this sideways-shade underneath the graphic)

    Unfortunately it's no component-solution, so I have to program it by hand everytime I need it.

    Maybe such an effect (or such a component) could be added to alphacontrols.

    Ralf

    #47203
    ralfiii
    Participant

    After thinking for some time I found a “solution”.

    Actually it's not a solution, it's just a request for a more general solution for such problems:

    ####

    Now that I have to make an app with a cool design I VERY often would need a fully transparent button (TsButton, TsSpeedButton or whatever…) combined with a set of images (+ an optional caption).

    When you hover the mouse over it or press it, it simply shows the corresponding images just like TsButton where we can use HotImageIndex, PressedImageIndex etc.

    But in any case it does NOT show it's borders, it only shows the images.

    This way we could easily create buttons that have odd shapes. You simply get partly transparent png images for the normal/hover/pressed-state from a designer and wire it to the transparent button.

    (in reality the buttons are rectangular, but the user only sees the image).

    This is something that is REALLY missing in the AC-pack

    #47207
    Support
    Keymaster

    Buttons will be transparent and without borders if the SkinData.SkinSection property changed to 'CHECKBOX'.

    I think, that is what you want if I understand you correctly. 🙂

    #47214
    ralfiii
    Participant
    'Support' wrote:

    Buttons will be transparent and without borders if the SkinData.SkinSection property changed to 'CHECKBOX'.

    I think, that is what you want if I understand you correctly. 🙂

    That's a perfect solution, thanks!

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