Solved

OpenDialog

Posted on 2003-10-23
1
593 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now