View Single Post
  #7 (permalink)  
Old November 27th, 2003, 01:27 AM
Piblon Piblon is offline
Authorized User
Join Date: Nov 2003
Location: Horby, , Sweden.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts

Thanx, I will try it out.
I know that cancel = False and working on trapping that issue as well.
quote:Originally posted by chrislepingwell
 OK, if that's what you are doing, I don't think you actually need the template's path. What you can do, if you want, is to set
filename = curdir
, and this will use the last directory used as a starting point. Alternatively, just set a default save location in code, preferably not the same directory as the template - you don't want users breaking things :)
BTW, bear in mind that users can cancel out of the dialog, returning "false", so you must trap that before attempting the save.
Reply With Quote