Knowledge Base

ShellBrowser Delphi Edition

Alle Einträge

Die folgenden Inhalte sind leider nicht auf Deutsch verfügbar.

A question on checked boxes when using JamShellList1:My task is simnple, how do you put ticks in boxes? (within a while loop)eg. to selectALL. JamShellList1.Items.Item[i].selected := True; // works fine(obviously JamShellList1.SelectAll is the short way!)How do you do this to the check boxes? JamShellList1.Items.Item[i].Checked := True; // fails to do anythingOn debug (single step) causes an 'access violation ', even though no errors are displayed.

Just found an interesting problem: to duplicate:1. open your example explorer project.2. Click and select ShellList3. Object selector, double click the event: "OnCheckStateChanged "4. Enter '\ ' as a comment, or any code!5. compile with error: "Undeclared identifier, TJamSelectionState "

I am using an instance of TJAMShellList in my application. When I right click on the background I don 't get the context menu as in the windows explorer. There is code in TShellBrowser for showing the "background " context menu, but it isn 't used by the TJAMShellList (yet). Is there any way I can do this for myself or is there a general problem getting the context menu when no items have been selected?

I am developing an interface with Borland C++ Builder 6.0 that uses a proprietary USB device and I am using the libusb library to communicate with the device. When I add the shellbrowser tree, list components to my project I am getting an error message in shlwapi.h function sayin declaration syntax error.Any idea?

I use JamShellList in various wayes and I wonder how do I paste a file in to the list. When I right click in the list I can only Copy or Cut a file but I want to Copy and Paste between diffrent JamShellLists.

I was using my program and clicked my mouse 'back ' button and of course it does not work. Is there a way to detect mouse buttons 4 & 5? Normally used for Explorer Forward/ back.All your clicks events, I assume are relvant to mouse button 1 only?

I 've encounter a problem with TShellBrowser.GetShellObjectNameThe problem is that if the system folder options is set to "Hide extensions of known file types " then the functionGetShellObjectName no longer return the file extension!If there a way to get the real file name from GetShellObjectNameeven if "Hide extensions of known file types " is set?

I am using TJamShellLink V5.52 and trying to get a list of selected files from a folder(using TJamShellLink with a TJamShellList). If I only have 1 file in the folder, which is also selected, I get an an incorrect path when accessing the path property.ie My path is set to c:\temp and when I access this: sFile:=slDocs.SelectionList.Path[0];it returns c:\temp\* rather than the filename. If there is more than one file in the folder, it returns the full path including filename. How can I fix this?

How can I get a list of all checked items in a JamShellTreeList? I have tried trapping during the OnCheckStateChanged event but "Item " is only the currently selected item and not any child items. I have also tried using a for x:=0 to JST.SelectedItemCount - 1, but that only returns 1 as well... Is there any way for me to determine (when a check box is changed), ALL items that are checked in the list?

I am updating an older program which uses the ShellBrowser, which uses the TJamShellList, TJamShellTree and TJamShellLink. Is there a way to set the TJamShell controls to NOT allow a read-only object to be deleted? This would need to be prevented by both Mouse and Keyboard actions.

I have two JamSystemShellView or JamShellList on the form, try to drag files from one to another and my application is totaly unrespondible (freezes, cant select another file or folder) until the end of file transfer (move or copy). Same thing is hapened when I use JamFileOperation.Is it possible to mantain response of application during this operations?

I wish to expand every node down to its lowest level in JamShellTree. I am using the FullExpand method but this is only expanding down one level at a time. To get right down I have been doing a FullExpand 10 times. This is not efficient and I still dont know if there any more levels to go. Is there a better way.