How to capture TPopUp menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55725
    Support
    Keymaster

    Hello!

    PopupMenus are skinned automatically usually, but if you have added some items dynamically there then you should use this procedure:

    Code:
    sSkinManager1.SkinableMenus.HookPopupMenu(Menu,true);

    Add this code after creation of new items.

    #55675
    AntonioBI
    Participant

    Thanks for reply.

    In my case, the PopupMenu is placed on the form at the creation time, together the other components.

    With some skin, the hooking is automatic, with others, not.

    I will try to put the line recommended, in the OnCreate form's event.

    Best regards

    Niobi

    #55779
    Support
    Keymaster

    Write me about a result, please.

    #55796
    AntonioBI
    Participant
    'Support' wrote:

    Write me about a result, please.

    Result is OK!

    Thanks

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