Re: OpenDialog
- From: "Stark" <franco.jommi@xxxxxx>
- Date: Mon, 20 Oct 2008 10:16:30 +0200
I tried this, but if I catch a wrong filename in the OnCanClose event, I didn't find a way to go back to the OpenDialog.
"Rob Kennedy" <me3@xxxxxxxxxxx> ha scritto nel messaggio news:6lvi6rFe8jdlU1@xxxxxxxxxxxxxxxxxxxxx
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 ?
Handle the OnCanClose event. In it, look at the dialog's current FileName or Files properties.
--
Rob
.
- Follow-Ups:
- Re: OpenDialog
- From: Nicholas Sherlock
- Re: OpenDialog
- References:
- OpenDialog
- From: Stark
- Re: OpenDialog
- From: Rob Kennedy
- OpenDialog
- Prev by Date: Re: OpenDialog
- Next by Date: Re: OpenDialog
- Previous by thread: Re: OpenDialog
- Next by thread: Re: OpenDialog
- Index(es):
Relevant Pages
|