ccrpminilogo.gif (1886 bytes)  Knowledge Base
 KB Index    FAQ Index    Controls  
  
CCRP FolderTreeview
FOLDERTREEVIEW
Bug: Canceling a Folder Expand Event Causes Folder Reloading


Solution: Error Loading DLL

Fix: PreSelectedFolder Property Fails to Pre-select

Solution: FolderTreeview Properties not Visible; Runtime Error in Visual Basic IDE
   

CONTROL PAGE
FolderTreeview/VB6 Page
FolderTreeview/VB5 Page
   

INDEX
CCRP FAQ Index
CCRP KB Index


   

Fix: PreSelectedFolder Property Fails to Pre-select
Last reviewed May 17, 1998
  
  
The information in this article applies to:

  • CCRP FolderTreeview Control Beta 1 build 0.01.0061 running on all version of Windows.
       
Symptom

When the FolderTreeview control's PreSelectedFolder is set to a particular folder and the control first shown, that folder should visible and highlighted. This feature is not working and the folder may not be visible at all.
   

Cause

The code to provide this feature was inadvertently impaired prior to the control's final compilation and release..
   

Workaround

For a VB form using the control, in the form's Form_Load event include the following code:

FolderTreeview1.PreSelectedFolder.Selected = True

   
For a web page using the control, include the following VBScript code:

<SCRIPT LANGUAGE="VBScript">
<!--
   Sub Window_onLoad()
       Window.FolderTreeview1.PreSelectedFolder.Selected = True
   End Sub
-->
</SCRIPT>
   

Status

This bug will be fixed in the control's next release.


    
Brad Martinez
14 May 1998
Copyright
© 1998 Common Controls Replacement Project