Solved

OpenDialog

Posted on 2003-10-23
1
598 Views
Last Modified: 2010-04-05
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
Comment
Question by:fradolcino
1 Comment
 
LVL 2

Accepted Solution

by:
alsantos earned 60 total points
ID: 9611981
Hi fradolcino, I think you can add the [ofOldStyleDialog] to OpenDialog1.Options before execute the dialog. I don't know if It could help you, but, at the old style dialog, no one can delete a file.

the example code:

  Opendialog1.Options := Opendialog1.Options + [ofOldStyleDialog];
  OpenDialog1.Execute;


alsantos
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question