Hi James, 

I haven't spent much time looking at the default file location yet but there 
are several ways you can approach setting the name itself. 

Probably the simplest way to do it is add your own code to the export options 
form class. You'll see this line in the init:

this.text2.Value = this.ooptions.cOutputFile

Of course, if you go this route you'll want to make sure you document what you 
do in case a new version of the library comes out. 

I've tried to be a little more OO in what I've started but it's still a WIP as 
the containership hierarchy is pretty complicated (at least it is to me). 
Matter of fact, what I've done so far for my own code defies simple explanation 
so I'm not going to put it here. It's just too damn ugly.

BTW all the export magic seems to be handled by the export method of the xfCont 
class. Interestingly, this method accepts a single parameter for the name of 
the output. In the places where I can see it called, it typically look like 
this:

This.Parent.oCnt.Export() (although sometimes it has multiple Parents (see 
prior comment about complicated containership hierarchy :))

So no parameter is being passed. Perhaps Martin's intention is to expose a way 
to pass that parameter.

I hope this helps you get started.

--
rk

-----Original Message-----
Subject: RE: XFRX default "output" file name

Yes, I'm definitely interested.  Please excuse me for asking too much, but what 
about changing the default path to a folder other than the working folder...

James E Harvey


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD04419F2CA55DC@ACKBWDDQH1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to