At 11:50 AM 2/28/98 +0200, Constantin Teodorescu wrote:

>Everything is working fine, even in vTcl , but when I'm saving the
>program, inside the source generated by vTcl that procedure didn't
>appear. It seems that vTcl ignore it (probably because it's starting
>with . as visual widgets do).
>
>More than that. If I'm adding the above procedure inside vTcl, it is
>added to "procedure list", it can be called from a button command for
>example, but IT DIDN'T APPEAR IN PROCEDURE LIST WINDOW !!!

It looks like a rule got added that prevents procedure names form starting
with ".". To remove this restriction, edit lib/globals.tcl and look for the
line:

set vTcl(proc,ignore)    "tcl.*|tk.*|auto_.*|bgerror|\\..*"

and change it to:

set vTcl(proc,ignore)    "tcl.*|tk.*|auto_.*|bgerror"

I've tested it only briefly but it seems to solve your problem.


 Stewart Allen                Automate the Web           webMethods, Inc.
 [EMAIL PROTECTED]        - - - ---- - - -           FAX 703-352-0370
 3975 University Dr. Ste #360 * Fairfax, VA * 22030 * OFFICE 703-352-1018

---------------------------------------------------------------------------
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