TsToolbar and MainMenu

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #37906
    Douglas Soares
    Participant

    Hello,

    I need to add a MainMenu inside a TsToolbar and have it skinned the same way it's skinned when showing on a form.

    If I add it to the Menu property of a TForm it shows up correctly and skinned, (normal state/active/pressed), everything is fine.

    If I add it to Menu property of TsToolbar then it uses ToolButton Section of skin and my main menu skin shows wrong cause my toolbutton settings are different than MainMenu and I can't make them both equal.

    I was wondering if you could test it yourself to see if I make sense or maybe I am missing something.

    Thanks in advance.

    #58016
    Support
    Keymaster

    Hello, Douglas!

    Can you show a demo with sources, please? I will try to search a solution.

    #58312
    Douglas Soares
    Participant
    'Support' wrote:

    Hello, Douglas!

    Can you show a demo with sources, please? I will try to search a solution.

    Here is the demo.

    Please note that when you “hover” over the main menu on top it will have a blue color and once you press the menu it will stay blue like a normal selected menu state.

    The issue is with the bottom menu that is inside a toolbar, it doesn't highlight the selected menu accordingly to the skin.

    #58330
    Support
    Keymaster

    Thank you for the demo, I will try to improve it soon.

    #59462
    llaca
    Participant
    'Support' wrote:

    Thank you for the demo, I will try to improve it soon.

    Hello Support !

    I have the same problem. Is there any solution ?

    Best regards !

    #59484
    Support
    Keymaster

    Hello!

    This issue has been solved already.

    Can you repeat the issue with latest package versions? Can you show a demo, please?

    #59495
    llaca
    Participant
    'Support' wrote:

    Hello!

    This issue has been solved already.

    Can you repeatr the issue with latest package versions? Can you show a demo, please?

    Hello Support !

    I compiled the demo linked in original post (Menu_example.zip) with the latest version of AlphaControls,

    but the TsToolbar menubuttons appears as toolbutton skin not the menu skin as I excepted ! Look at the attachment.

    It would be nice if the tsbuttons menuitem property is assigned, the toolbutton's skin will appears as menu skin.

    Please, make a property MenuButtonSkin, or if you hardcoded , then check button's menuitem property and if it is assigned then skin the button with menu skin.

    #59537
    Support
    Keymaster

    Hello

    Changes will be added in the v14.25

    #59543
    llaca
    Participant

    Thank You !

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