Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - is it bug of VS.net (TaskPane)??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

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

 Post Reply Post Reply
Author
Message
hmrk View Drop Down
Newbie
Newbie
Avatar

Joined: 16 November 2004
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote hmrk Quote  Post ReplyReply Direct Link To This Post Topic: is it bug of VS.net (TaskPane)??
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2004 at 11:57pm

What result do you have without 

a.Dock = DockStyle.Fill

?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
hmrk View Drop Down
Newbie
Newbie
Avatar

Joined: 16 November 2004
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote hmrk Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2004 at 12:16am

before Item.Control = a
add

wndTaskPanel.Controls.Add(a)

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
hmrk View Drop Down
Newbie
Newbie
Avatar

Joined: 16 November 2004
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote hmrk Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2004 at 7:22am

it works!!

   thanks

 

I like this Game
Back to Top
TobiasWeltner View Drop Down
Newbie
Newbie


Joined: 12 January 2005
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote TobiasWeltner Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2005 at 4:00am

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

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2005 at 1:34am
Controls is inherited property in .NET
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.