Welcome Guest!
 Tkfp
 Previous Message All Messages Next Message 
Re: need a couple of lines of code to create the patient /pdf_forms folder  Alexander Caldwell
 Oct 09, 2007 17:43 PDT 

Jerry,

You are right, the ones that move the files and
folders to a new name or delete the files and folders
are in browsename.tcl. I had forgotten about that. You
could
probably look at how the lab_results and the
scanned_data folders are handled and just copy the
code from those, changing the folder names
appropriately.

I am thinking that we need to come to some way to
coordinate these changes you are making so we keep our
programs synchronized.

I am not sure what the best way to do this is. Do you
have some thoughts on it? The CVS thing seems like
overkill since it is only you and me working on it.

Alex



--- Jerry Park <park.-@gmail.com> wrote:

 Alex,

I see that the proc that creates patient directories
is called
'setselection", which resides in browsename.tcl.
It's invoked by
.but19 {Store Information} in demographicform.tcl.

I also see that moving the patients files from one
name to the other
and deleting the patients files and folders are
addressed by proc
deleteName and proc mergeName in the same code area
of browsename.tcl.
I guess I will see if I can modify the code myself
and get it to work
after viewing how you did it in the pdf versions
of Tkfp.

Jerry

 Jerry,

It should be pretty easy to create a new folder
for each new patient for the
 pdf_forms. It would be pretty much the same as the
lab_results and
 scanned_info
folders. The other part would be needed is mostly
in the admin area which is
 largely in tree.tcl which would be for changing
the key filename if it needs
 to be changed
or when needed to be delted.

Alex


Jerry Park <park.-@gmail.com> wrote:

Alex,

I just need a couple of lines of code in
demographicform.tcl attached
 to the "Store Information" button that creates all
the folders for a
 new patient that creates the patient's /pdf_forms
folder. I looked a
 the code and couldn't figure out how to do it so
far. I don't need
 all the pdf viewers and stuff at this point, as
I'm going to do all
 that with my new vTcl GUI.

Jerry



________________________________
Moody friends. Drama queens. Your life? Nope! -
their life, your story.
 Play Sims Stories at Yahoo! Games.



      ____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.