Knowledge Base

ShellBrowser Delphi Components

Question / Problem

How can I emulate the "One-Click" behaviour of the Windows Explorer in the TJamShellList?

Answer / Solution

1. Set the HotTrack property to True
2. Set the values htHandPoint and htUnderLineCold in the HotTrackStyles also to True.
3. Enter the following line to the OnMouseUp event of the JamShellList: JamShellList.InvokeCommandOnSelected('default');