BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TSaveDialog->Options{ofCreatePrompt} broken?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
TerryC
Guest





PostPosted: Fri Apr 23, 2004 3:33 pm    Post subject: TSaveDialog->Options{ofCreatePrompt} broken? Reply with 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.

Am I misunderstanding the purpose of this Option?

Thanks much,
Terry
Back to top
Timothy Buchman
Guest





PostPosted: Sat Apr 24, 2004 6:35 pm    Post subject: Re: TSaveDialog->Options{ofCreatePrompt} broken? Reply with quote



"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.