 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
TerryC Guest
|
Posted: Fri Apr 23, 2004 3:33 pm Post subject: TSaveDialog->Options{ofCreatePrompt} broken? |
|
|
I am using a standard TSaveDialog in BCB 6 Pro, and the Options
item "ofCreatePrompt" doesn't seem to work. I set it to "true"
in the Object Inspector, build the application, then Execute()
the dialog. When I enter a non-existant file into the dialog
and click "OK", it does not ask if I want to create the file.
Am I misunderstanding the purpose of this Option?
Thanks much,
Terry
|
|
| Back to top |
|
 |
Timothy Buchman Guest
|
Posted: Sat Apr 24, 2004 6:35 pm Post subject: Re: TSaveDialog->Options{ofCreatePrompt} broken? |
|
|
"TerryC" <terry> wrote
| Quote: | I am using a standard TSaveDialog in BCB 6 Pro, and the Options
item "ofCreatePrompt" doesn't seem to work. I set it to "true"
in the Object Inspector, build the application, then Execute()
the dialog. When I enter a non-existant file into the dialog
and click "OK", it does not ask if I want to create the file.
|
I got the same results as you , BCB6/XP Pro. A quick look at the VCL source
doesn't show why, either. If this is important to you, I suspect that using
this code,
http://home.att.net/~secondcut/opdlgrs.htm , but using OFN_CREATEPROMPT in
place of the web page's OFN_ENABLESIZING will work. I agree, that's small
comfort.
--
Timothy H. Buchman
========================================
City Center Theater, New York NY
mail address tbuchmanPLEASE(at sign)REMOVEcitycenter.org
Search .borland message archive on http://www.tamaracka.com/search.htm
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|