TRzShellList – Stop user from opening File from here Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › TRzShellList – Stop user from opening File from here Tagged: TRzShellList This topic has 4 replies, 2 voices, and was last updated 2022-06-29 at 4:16 am by Michael Tuttle. Viewing 4 reply threads Author Posts June 17, 2022 at 11:22 am #3122 Michael TuttleParticipant Greetings All, Delphi 10.4, current version of components. Is there some way to keep users from double clicking on a file in this list (PDF, DocX, etc) and having the file displayed in a popup window? Thanks, Mike June 17, 2022 at 5:47 pm #3123 Ray KonopkaKeymaster Hi Mike, You can create an event handler for the OnDblClickOpen event of the TRzShellList and in the handler set the Handled parameter to True. For example: procedure TForm38.RzShellList1DblClickOpen(Sender: TObject; var Handled: Boolean); begin Handled := True; end; Ray June 17, 2022 at 10:22 pm #3125 Michael TuttleParticipant Hi Ray, My TRzShellList does not have a Handled parameter. My version shows Version 6.5.0. Is there a newer release? Thanks, Mike June 29, 2022 at 3:02 am #3145 Ray KonopkaKeymaster Hi Mike, The event that I mentioned in my response was the OnDblClickOpen event and not the OnDlbClick event. The OnDblClickOpen event handler has the Handled parameter. Ray June 29, 2022 at 4:16 am #3148 Michael TuttleParticipant Ah, completely overlooked that. Thanks Ray, much appreciated. Author Posts Viewing 4 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In