Re: OpenDialog
- From: "Stark" <franco.jommi@xxxxxx>
- Date: Mon, 20 Oct 2008 10:14:32 +0200
And typing wahtever you want cannot be avoided, I think. I would like to give the user less opportunity to make mistakes, forcing him to choose among the valid datasets only...
"Rob Kennedy" <me3@xxxxxxxxxxx> ha scritto nel messaggio news:6m1vuvFeo0opU2@xxxxxxxxxxxxxxxxxxxxx
Hans-Peter Diettrich wrote:Stark schrieb:
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 ?
This is what ofFileMustExist in the dialog options does for you.
That only means the file must exist. It doesn't say the file must match a certain pattern. You're always free to type the name of whatever file you want.
--
Rob
.
- References:
- OpenDialog
- From: Stark
- Re: OpenDialog
- From: Hans-Peter Diettrich
- 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
|