Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - How disable item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How disable item

 Post Reply Post Reply
Author
Message
wako View Drop Down
Newbie
Newbie


Joined: 15 February 2018
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote wako Quote  Post ReplyReply Direct Link To This Post Topic: How disable item
    Posted: 15 February 2018 at 7:56pm
Hi. 

I need disable an items from a Group.

Anyone have the solution Wink. Thanks a lot.
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2018 at 7:41am
Hello,
    Dim Group As TaskPanelGroup
    Dim Item As TaskPanelGroupItem
   
    Set Group = wndTaskPanel.Groups.Add(0, "Other Places")
    Set Item = Group.Items.Add(ID_TASKITEM_MYCOMPUTER, "My Computer", xtpTaskItemTypeLink, 7)
    Item.Enabled = False

Regards,
 Oleksandr Lebed
Back to Top
wako View Drop Down
Newbie
Newbie


Joined: 15 February 2018
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote wako Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2018 at 8:52am
Perfect!!! Clap. thanks a lot Oleksandr
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.