Print Page | Close Window

Treeview Help

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=12346
Printed Date: 16 November 2024 at 7:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Treeview Help
Posted By: bcampbell
Subject: Treeview Help
Date Posted: 06 October 2008 at 2:35pm
Maybe I am missing something here. When I use the regular treeview control it works fine. When I use codejock treeview it doesn't work at all. Can someone help me understand this. uploads/20081006_143509_CodejockvrsMicr.zip - uploads/20081006_143509_CodejockvrsMicr.zip

-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Replies:
Posted By: Oleg
Date Posted: 07 October 2008 at 2:32am
Because frmADTreeview that FrmMDI has and frmADTreeview that used in enumerate_path are 2 different objects.
 
You need pass tree to this method or use full path:
fMainForm.frmADTreeview.ADTreeView
and
Public frmADTreeview As frmADTreeview


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


Posted By: bcampbell
Date Posted: 07 October 2008 at 9:39am
When I make frmADTreeview Public and reference FrmMDI.frmADTreeview it gives me an error that "Only 1 MDI form can be used." Anyways, I kind of know what your saying, cause I tried it without the dockingmanager and it works fine. I still don't understand how it gets passed to the window.

-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: Oleg
Date Posted: 07 October 2008 at 9:51am
don't reference FrmMDI.frmADTreeview  - use fMainForm.frmADTreeview

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


Posted By: bcampbell
Date Posted: 07 October 2008 at 1:05pm
fMainForm doesnt give me the option to reference frmadtreeview and therefore will not allow me to use it.

-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: bcampbell
Date Posted: 07 October 2008 at 1:26pm
nevermind.. i see the error of my ways.

-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: bcampbell
Date Posted: 07 October 2008 at 1:33pm
thanks for you help. You are really smart

-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



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