Print Page | Close Window

How disable item

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=23574
Printed Date: 23 April 2024 at 7:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How disable item
Posted By: wako
Subject: How disable item
Date Posted: 15 February 2018 at 7:56pm
Hi. 

I need disable an items from a Group.

Anyone have the solution Wink. Thanks a lot.



Replies:
Posted By: olebed
Date 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


Posted By: wako
Date Posted: 16 February 2018 at 8:52am
Perfect!!! Clap. thanks a lot Oleksandr



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net