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
Printed Date: 04 June 2020 at 2:27pm

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

I need disable an items from a Group.

Anyone have the solution Wink. Thanks a lot.

Posted By: olebed
Date Posted: 16 February 2018 at 7:41am
    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

 Oleksandr Lebed

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

Print Page | Close Window