Dave Miles wrote:

>  Problem: 1) Start 'vtcl'
>           2) 'File/Open' then 'Cancel'
>           3) 'File/Open' then gives:
>
> STACK_TRACE_BEGIN
>
> can't set "data(selectPath)": bad window path name ".__tk_filedialog"
>     while executing ....

I first noticed this problem in tk8.0p1/2.  I made a change to to tk8.0/ tkfbox.tcl

# This proc gets called whenever data(selectPath) is set
#
proc tkFDialog_SetPath {w name1 name2 op} {

+        if [winfo exists $w] {
                upvar #0 [winfo name $w] data
                tkFDialog_UpdateWhenIdle $w
+       }
}









---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to