TVTHeaderPopupMenu in VirtualTree

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33104
    ErmandoFerrari
    Participant

    -create a form
    -add a VirtualStringTree
    -add a TVTHeaderPopupMenu
    -set VirtualStringTree->Header->PopupMenu property to TVTHeaderPopupMenu
    -compile and run

    right clicking the tree header specialyzed menu that show and hide tree columns is show, but that menu is not skinned

    thank you for your help

    #39867
    Support
    Keymaster

    Hello
    I'll try to solve this problem soon.

    PS. But I'm not sure that this menu may be skinned automatically.
    You can try to add this line into VTHeaderPopupMenu1Popup event :

    CODE
    (sSkinManager1.SkinableMenus.HookPopupMenu(VTHeaderPopupMenu1, sSkinManager1.Active);

    #39891
    ErmandoFerrari
    Participant

    QUOTE (Support @ Jul 10 2009, 10:05 AM)
    Hello
    I'll try to solve this problem soon.

    PS. But I'm not sure that this menu may be skinned automatically.
    You can try to add this line into VTHeaderPopupMenu1Popup event :

    CODE
    (sSkinManager1.SkinableMenus.HookPopupMenu(VTHeaderPopupMenu1, sSkinManager1.Active);

    it works, thank you for the rapid reply.
    Don't mind about fix it, I will forget to delete the event handler in a day <img src="style_emoticons//wink.gif” style=”vertical-align:middle” emoid=”;)” border=”0″ alt=”wink.gif” />

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