Posted on 2003-10-23
Medium Priority
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)
Hope i was clear
Question by:fradolcino
1 Comment

Accepted Solution

alsantos earned 240 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];


Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This is an update to some code that someone else posted on Experts Exchange. It is an alternate approach, I think a little easier to use, & makes sure that things like the Task Bar will update.
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …
Did you know PowerShell can save you time with SaaS platforms? Simply leverage RESTfulAPIs to build your own PowerShell modules. These will kill repetitive tickets and tabs, using the command Invoke-RestMethod. Tune into this webinar to learn how…

586 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