MenuSupport of TSkinManager

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38067
    SpeedTI
    Participant

    I'm having trouble using SkinManager, the component changes the font of popup menus, but not in all forms of the system, only in some of them. The following properties of the component were set to True:

    MenuSupport-> CustomFont

    SkinnedPopups

    The component is in the main form, would not that be enough for all other popup-type menu's in the application to be using the selected font in SkinManager?

    Version 14.11

    Thank you

    Regards
    Valdir Sola

    #58766
    Support
    Keymaster

    Hello

    Could you show some screenshots, please?

    #58772
    SpeedTI
    Participant
    'Support' wrote:

    Hello

    Could you show some screenshots, please?

    The first image is from a form where there is only 1 component TPopupMenu, and it shows the source changed. The second image is from another Form, where there are some TPopupMenu. Note that on the same screen, one of the popups displays the default font setting, while the other one displays the modified font.

    Attached Images

    [attachment=9056:popup1.png]

    [attachment=9057:popup2.png]

    [attachment=9058:popup3.png]

    Regards
    Valdir Sola

    #58778
    Support
    Keymaster

    Second popup menu is not skinned at all. Maybe that's the issue?

    If menu is generated manually then you should add a skinning there:

    sSkinManager1.SkinableMenus.HookPopupMenu(PopupMenu1,True);

    #58785
    SpeedTI
    Participant
    'Support' wrote:

    Second popup menu is not skinned at all. Maybe that's the issue?

    If menu is generated manually then you should add a skinning there:

    sSkinManager1.SkinableMenus.HookPopupMenu(PopupMenu1,True);

    This resolved the problem by being placed in the OnShow event of Form.

    Thank you.

    Regards
    Valdir Sola

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