Thanks Richard, let's hope Martin gets the time to take a look at these two
requests.

I do appreciate XFRX, it has made the offering of alternative output options
to our users a key benefit.  

James E Harvey 
Corresponding Officer/M.I.S.
Hanover Shoe Farms, Inc.
www.hanoverpa.com
office: 717-637-8931
cell: 717-887-2565
fax: 717-637-6766


-----Original Message-----
From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf
Of Richard Kaye
Sent: Thursday, September 22, 2011 5:13 PM
To: profox@leafe.com
Subject: RE: XFRX default "output" file name

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


[excessive quoting removed by server]

_______________________________________________
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/033901cc79e0$6a6e9910$3f4bcb30$@hanoverpa.com
** 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