Re: OpenDialog
- From: Nicholas Sherlock <n.sherlock@xxxxxxxxx>
- Date: Sun, 19 Oct 2008 13:11:34 +1300
Stark wrote:
I want my user to choose a file in a folder among those staring with some characters in their name. I do this using the filter property. This does not avoid the user entering a totally different filename in the filename edit. How can I avoid this ? Can I disable the filename edit ? Or is there another solution ?
You could just validate the user's choice of filename after they close the dialog.
Or if the user can choose files only from a certain folder as well, there's no point in giving them the full functionality of an open dialog. Create your own dialog, plonk a TFileListBox on it, and set the mask and directory of it.
Cheers,
Nicholas Sherlock
-----------------
www.Newsgroup-Binaries.com - *Completion*Retention*Speed*
Access your favorite newsgroups from home or on the road
-----------------
.
- References:
- OpenDialog
- From: Stark
- OpenDialog
- Prev by Date: OpenDialog
- Next by Date: Re: OpenDialog
- Previous by thread: OpenDialog
- Next by thread: Re: OpenDialog
- Index(es):
Relevant Pages
|