![]() |
Context Menu |
Post Reply
|
| Author | |
nofalter
Newbie
Joined: 05 June 2006 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Context MenuPosted: 13 August 2006 at 7:49pm |
|
Hi,
Im using Xtreme SuitePro ActiveX 2006 Q3 on Vb.Net 2005.
My problem is when i call the context menu the popup menu show up but the next time i call the popup it will show nothing but a square. Look at the attach picture. first click
![]() next click
![]() My code:
With frmForm If .CommandBars.DesignerControls Is Nothing Then Exit Sub Dim Popup As XtremeCommandBars.CommandBar Dim Control As XtremeCommandBars.CommandBarControl, ContextControl As XtremeCommandBars.CommandBarControlBringToFront() Control = .CommandBars.DesignerControls.Find(, 1032) If Control Is Nothing Then Exit SubPopup = StartUp.frmServer.CommandBars.Add( "Popup", XTPBarPosition.xtpBarPopup) For Each ContextControl In Control.CommandBar.ControlsContextControl.Copy(Popup) NextPopup.ShowPopup() End WithWhat seems to be the problem??
Thanks!
|
|
![]() |
|
nofalter
Newbie
Joined: 05 June 2006 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 August 2006 at 5:51am |
|
No one can answer!! I think Visual Studio 2005 is not yet supported with this activex.. tsk tsk tsk!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 August 2006 at 9:59am |
|
Hmm. Seems problem in Foreach for ActiveX control... may be .NET generate something wrong...
please replace foreach to
Dim i For i = 1 To Control.CommandBar.Controls.CountContextControl = Control.CommandBar.Controls(i) ContextControl.Copy(Popup) Next
we will try to dig why it happens. Thanks a lot. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |