by Infragistics - 상품타입: Component / ActiveX OCX
ActiveTreeView is now officially part of UltraSuite.
If you require information on upgrading ActiveTreeView, please visit the page above or Contact Us for pricing and availability.
I am trying to figure out how to drag and drop items when more than one item in the node is selected via the multiselect functionality. I can not find any examples of this feature. Any help would be appreciated.
리플
I have incorporated an Active Tree View into an ActiveX Control, which I am hosting in a control container.
Everything works fine on machines where the Active Tree View is licensed for development, but when I deploy my component onto a non-development machine I get errors complaining about licensing. (“You do not have an appropriate license to use this functionality.”) (The errors actually occur when I call a method on ANY sub-control within my ActiveX Control.)
I am adding the Active Tree View license to the VB “licenses” collection of the parent, but it doesn’t help.
What am I missing here?
리플
RE: Problem with Licensing Infragistics Tech Support 13-Jun-2001 15:40:41
It seems that there is a problem when creating a .CAB file (such as the one for a UserControl) and referencing another .OCX control (which would be a Infragistics control) in the .INF file.
What we suggest at this time is to modify the .DEP file for the .OCX. You will need to comment out the three lines in the .DEP file that refer to the .CAB file and re-create the installation.
(.DEP files for our .OCX controls can be found in the install directory for the product (where the .OCX is registered) and/or the Windows\System directory).
For example (using the ActiveThreedPlus dependency file):
Replace these 3 lines:
CABFileName= ssa3d30.CAB
CABDefaultURL=http://www.infragistics.com/download/cabs
CABINFFile= ssa3d30.INF
With these 3 lines (to comment them out):
; CABFileName= ssa3d30.CAB
; CABDefaultURL=http://www.infragistics.com/download/cabs
; CABINFFile= ssa3d30.INF
We recommend the following Microsoft knowledge base article for details about how to manually modify and rebuild .CAB files:
Article ID: Q176810 http://support.microsoft.com/support/kb/articles/q176/8/10.asp
리플RE: Problem with Licensing syd_egan [United Kingdom] 14-Jun-2001 08:40:28
Er, we don't have a CAP file. We have an ActiveX control, with an Active Tree View on the control; and we are installing the components with an MSI installation.
When we run our ActiveX control, we have errors raised when we call methods, saying "You do not have an appropriate license...."
리플RE: Problem with Licensing Infragistics Tech Support 14-Jun-2001 15:22:19
We don't test or support Windows Terminal Server, nor am I able to troubleshoot an MSI Installation, unfortunately being unfamiliar with that facility. Our control is the same as other activeX controls, so I would suggest looking in MSDN or maybe this link helps,
http://www.jsiinc.com/SUBA/tip0100/rh0127.htm
You mention that there is no CAB file. The deployment of our controls, again, is fully covered in the install.zip and internet.zip files previously linked. I suggest reading them and analyzing what your method of deployment is (or isn't) doing - to negate or omit our control licenses.
I can tell you that the rule is there MUST be a CAB file downloaded onto the client machine, for the proper instantiation of the licensed ActiveX control. ActiveX is client side.
If you are attempting to use a licensed control within an Office application perhaps being served from this Terminal Server (I am only guessing here) in fashion similar to a VBA where code is not actually compiled, then this will also cause a licensing problem. A VBA by default actually opens the activeX control and requires a development license. This goes against the license agreement, and in fact we tell our customers that our controls are not for VBA usage.
I hope some of this is perhaps helpful. I would suggest submitting a proper support request however, for any continuation of this topic. As I say, though, we don't test or support Windows Terminal Server, nor MSI Installation procedures.
리플RE: Problem with Licensing syd_egan [United Kingdom] 15-Jun-2001 15:05:10
If MSI installations are not supported then that is frankly pathetic - MSI is the standard deployment method for Win2K software. When will MSI be supported?
리플RE: Problem with Licensing cpriebs [Germany] 30-Dec-2001 14:57:51
That´s it. I am looking for a treeview-control to show multiline text mainly.
But if the softwarevendor doesn`t provide MSI it´s not worth thinking about the tool. Please inform me, whether you mastered this challenge and provide support for MSI.
Thank you, Carsten
리플
The help file states that:
"When set to 2 (ssatNodeSelectRange), the user can select a range of Nodes in one selection operation, provided the Nodes are within the same level of the hierarchy. The user cannot, however, select Nodes across levels in one selection operation."
This is a cool feature. However, it does not appear to be 100% - it is possible to select Nodes at multiple levels in the hierarchy, using the Control key (though not using the Shift key). Is there a reason for this? Do I have to use the ValidateSelection event to prevent this happening?
TIA
리플
RE: NodeSelectionStyle Property Infragistics Tech Support 27-Apr-2001 17:48:27
Using the Control Key to select more than one node at different hierarchies is consistent with the design of the component. Some developers want their users to have that ability. 'Shift' allows for selecting only at the same level, while 'Control' does not place that restriction.
However, if the developer does not want the Control key to be able to be used to multi-select then I recommend he add this code to his KeyDown event:
If KeyCode = 17 Then
SSTree1.NodeSelectionStyle = ssatNodeSelectSingle
End If
If KeyCode = 16 Then
SSTree1.NodeSelectionStyle = ssatNodeSelectRange
End If
That should keep the 'Shift' functionality while eliminating Control's ability to go across hierarchies.
리플