Print Page | Close Window

is it bug of VS.net (TaskPane)??

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1418
Printed Date: 06 October 2024 at 2:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: is it bug of VS.net (TaskPane)??
Posted By: hmrk
Subject: is it bug of VS.net (TaskPane)??
Date Posted: 16 November 2004 at 7:36am

I'm use Xtreme Suite ActiveX 9.51 in windows 2000 using vb.net.
I created a user control, in which there is a listview. but it does not work when using the following codes.

             dim group ...  
             dim item ...
             Dim a As New UserControl1
             Group = wndTaskPanel.Groups.Add(0, "aaa")
             Item = Group.Items.Add(0, "", XTPTaskPanelItemType.xtpTaskItemTypeControl, -1)
             Item.Control = a
             a.Dock = DockStyle.Fill

but when click the Group, the appearance can be seen but disappeared immediately.

Please kindly advise it's due to my fault or just the bug of VS.net. Appreciate your prompt reply. tks & b.rgds



-------------
I like this Game



Replies:
Posted By: Oleg
Date Posted: 16 November 2004 at 11:57pm

What result do you have without 

a.Dock = DockStyle.Fill

?



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


Posted By: hmrk
Date Posted: 17 November 2004 at 6:40am

many thanks for your kind response. but regret that same result got as previous without

a.Dock = DockStyle.Fill

is there any other way? do you mean it's not the bug for VB.net?

tks & b.rgds



-------------
I like this Game


Posted By: Oleg
Date Posted: 19 November 2004 at 12:16am

before Item.Control = a
add

wndTaskPanel.Controls.Add(a)



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


Posted By: hmrk
Date Posted: 19 November 2004 at 7:22am

it works!!

   thanks

 



-------------
I like this Game


Posted By: TobiasWeltner
Date Posted: 01 May 2005 at 4:00am

I can't find .Controls.Add for Taskpanel, did you change object model in 9.60?

 



Posted By: Oleg
Date Posted: 06 May 2005 at 1:34am
Controls is inherited property in .NET

-------------
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