Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

OpenDialog

I have an OpenDialog and one Button
When i click on button OpenDialog.execute.
Now, i in the OpenDialog i don't want let anywone to delete the files or directory
How can i do this (for RightClick, and DEL Keyboard)
Thanks
Hope i was clear
0
fradolcino
Asked:
fradolcino
1 Solution
 
Wim ten BrinkCommented:
Don't know and basically I would not mess with this kind of behaviour. If the user has access to the Explorer then they could also use Explorer to delete or rename files. The Open File dialog is just providing the same functionality.
Actually, the Windows OpenDialog (which Delphi uses) just has an Explorer window inside. It is an Explorer extention. If you don't like it you'll have to write your open OpenDialog, I guess...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now