Print Page | Close Window

TaskPanelGroupItem.Control

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=4271
Printed Date: 05 May 2024 at 12:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TaskPanelGroupItem.Control
Posted By: fernando
Subject: TaskPanelGroupItem.Control
Date Posted: 24 May 2006 at 11:14am

Hi,

can someon explain how I can add a control as a TaskPanelGroupItem?  The help file says that the Control  property is suposed to:

"Gets/Sets the name of the control to be displayed in this item.  This will add your own custom control such as a textbox, combobox, or form."

I tried setting it to the name of the control, but it doesn't work:

Set Item = Group.Items.Add(2, "Que te den", xtpTaskItemTypeControl, 2)
Item.Control = "DTPicker1"





Replies:
Posted By: Oleg
Date Posted: 24 May 2006 at 12:15pm

Try

Item.Handle = DTPicker1.HWnd



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


Posted By: telescient
Date Posted: 10 July 2006 at 1:05am

TaskPanelGroup Group;

Group = wndTaskPanel.Groups.Add(0, "Login");

Group.Items.Add(ID_User_Login, "User Login", XTPTaskPanelItemType.xtpTaskItemTypeLink, 1);




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