At 10:35 AM 09/20/00 +0200, you wrote:
>Hello,
>
>I'm trying to use menu's in vtcl. It seemed to work well, I think I
understand
>how it works, but all of a sudden, I had a problem:
>When I was editing menus, vtcl suddenly created a menu on
>toplevel (".m37"). I couldn't show this menu, but it was shown in the widget
>tree, strangely connected to other menu's with a line. I
>managed to delete it, by using the vtcl "delete" (in the edit menu). It
>disappeared from the widget tree, but the tree still looks strange. When I
save
>the project, and reopen it, I get messages like 'Can't use placer....,
>use wm instead" (or something similar). Also, the menus I allready created
>(the good ones) seem to be lost (allthough I still see them in the widget
>tree...)
>
>These kind of problems happened to me twice, but now I'm trying to reproduce
>them, and I don't succeed (of course!). So I can't tell you what I did
exactly
>to have these problems. Anyone an idea what I could have done wrong?


I don't think you did anything wrong. I too see this sometimes. I believe
these are caused by small bugs in vtcl. I get around these problems by doing
saves and reloads quite often. If I get a problem, I backup to a prior
version. A few times, this did not work, as a problem got propogated
into my saves before I realized something was wrong. And I did not want
to go back to a long-ago prior version.

In that case I do a file compare to see what has changed and sometimes
there is a
line that gets deleted in the boilerplate area of the procedures at or around:

VTCL GENERATED GUI PROCEDURES

I then "patch up" the code around that point and it seems to work for me.

Unfortunately, I do not have enough knowledge to fix the actual
problems, so I just live with it. I have gotten a lot of mileage
from vtcl and even have looked at a commercial alternative, but 
did not find it very easy to use. 

I like the simplicity of vtcl and especially the open source and
the ability to edit procedures using either vtcl or my own 
favorite editor since vtcl's "project" format is pure tcl code. 

The fact that vtcl is a little buggy is something
I just work around. The tradeoff has been worthwhile for me.

Hope this gives you some perspective on vtcl.

eric



_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user

Reply via email to