Print Page | Close Window

set selection of a taskpanelgroupitem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3565
Printed Date: 17 November 2024 at 11:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: set selection of a taskpanelgroupitem
Posted By: tobi
Subject: set selection of a taskpanelgroupitem
Date Posted: 26 January 2006 at 2:11pm

I´m trying to highlight a taskpanel group item by code. I´ve set the options:

        SingleSelection = True
        SelectItemOnFocus = True
        DrawFocusRect = True

but the code

        Dim xtpgi As TaskPanelGroupItem
        Set xtpgi = frmTaskPanel.wndTaskPanel.Find(ID_ITEM_5)
        xtpgi.Selected = True

doesn´t highlight the item with the id... 
Any suggestions?




Replies:
Posted By: Oleg
Date Posted: 27 January 2006 at 1:00am

Hmm it works for me..

guess you set

wndTaskPanel.HotTrackStyle = xtpTaskPanelHighlightItem

?

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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