hi Ian Clarke ,

        The same type of problem even I am facing with version 1.11 I am
working on windows NT and I am not getting any errors but when you open
it for the second time the screen will not be present. 
The reasons may be this,
        When we see other GUI products, they save the screen contents in a
database and they prepare source code for that screen. hence you will be
left with 2 files, one source code and other is screen file or table.
But in vtcl we are seeing that the file that we obtain is only a tcl
script that was generated due to design of screen, and we may not be
able to change or modify the screen when opended for second time.
        Creating a screen for user includes may modifications and validations.
If this is the case, VTCL may not be appropriate. what do you say?

bye
Hamps

Ian Clarke wrote:
> 
> Hi, I am running VTCL 1.11 with Wish V8.0 on a SunOS machine, and while
> the first time I attempt to open a file works fine, the second time I get
> the following error:
> 
> ***Begin Stack Trace Quote***
> 
> can't set "data(selectPath)": bad window path name ".__tk_filedialog"
>     while executing
> "set data(selectPath) [glob $data(-initialdir)]"
>     (procedure "tkFDialog_Config" line 42)
>     invoked from within
> "tkFDialog_Config $w $type $args"
>     (procedure "tk_getOpenFile" line 12)
>     invoked from within
> "tk_getOpenFile -defaultextension $ext  -initialdir [pwd] -filetypes
> $types"
>     ("open" arm line 2)
>     invoked from within
> "switch $mode {
>         open {
>             set file [tk_getOpenFile -defaultextension $ext  -initialdir
> [pwd] -filetypes $types]
>         }
>         save..."
>     (procedure "vTcl:get_file" line 11)
>     invoked from within
> "vTcl:get_file open "Open Project""
>     (procedure "vTcl:open" line 5)
>     invoked from within
> "vTcl:open"
>     invoked from within
> ".vTcl.#vTcl#m.#vTcl#m#file invoke active"
>     ("uplevel" body line 1)
>     invoked from within
> "uplevel #0 [list $w invoke active]"
>     (procedure "tkMenuInvoke" line 29)
>     invoked from within
> "tkMenuInvoke .vTcl.#vTcl#m.#vTcl#m#file 1"
>     (command bound to event)
> 
> ***End Quote***
> 
> In fact any time I attempt to use any menu option which attempts to open a
> file-dialog I get this error.
> 
> Does anyone have any ideas?
> 
> Thanks,
> 
> Ian.
> 
> __________________________________________________________________________
> Ian Clarke                                    http://www.dcs.ed.ac.uk/~iic
>       `An intellectual is someone who has been educated beyond their
>                               intelligence'
> 
> ---------------------------------------------------------------------------
> 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).
---------------------------------------------------------------------------
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