Button with vertical caption

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34613
    ralfiii
    Participant

    Hello!

    I need a Button (or something else that does a slight color change when hovering the mouse over it) with a vertical caption. Ideally the background filling is rotated as well.

    Is there any way to achieve that with AlphaControls?

    AlphaControls' Font.Orientation property works as bad and unusable as in the standard VCL implementation.

    Attached there's screenshot of a button (inactive/active) and the same image roatated 90degrees. That llok would be perfect as the rotated background filling gives the button a nice 3d-look.

    If the background is not rotated it looks like in the 3rd picture. It's also ok, but the other way is a bit nicer. Here I've got the rotated text directly out of Delphi using a TsPageControl. Btw: Using the TsPageControls as a Button-replacement is not really an option, I need these vertical buttons quite often and placing PageControls all over the place would be an overkill…

    And ideas?

    Thanks,

    Ralf

    #46460
    Support
    Keymaster

    Hello Ralf

    This feature should be added specially. I have added it in ToDo list, but can't promise a quick implementation.

    #46462
    ralfiii
    Participant

    Hey!

    Thanks for your response, but I've implemented a neat vertical button in the meantime.

    So you can save your time for enjoying the sunny weather 😉

    Thanks anyway!

    Ralf

    'Support' wrote:

    Hello Ralf

    This feature should be added specially. I have added it in ToDo list, but can't promise a quick implementation.

    #46463
    Support
    Keymaster

    You uses OnPaint event?

    #46511
    ralfiii
    Participant
    'Support' wrote:

    You uses OnPaint event?

    I created a TPanel-decendant with an overwritten Paint-method.

    #46515
    Support
    Keymaster

    Alpha Buttons have OnPaint event too. 🙂

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