On Fri, 30 Mar 2001, Cristian Chaparro wrote:

> Hi all,
> I have some code where I use  different instances of one toplevel by
> calling
> Window show .top17 .top18
> Window show .top17
> Thus creating a toplevel .top18 based on the same code as .top17.
> I created this code with vtcl 1.2...

Really? I thought that feature didn't work? Doesn't it generate some
hardwired references to ".top17" in the "proc vTclWindow.top17"? For
example, in menubuttons and scrollbars? Maybe it was fixed in a later
version?
 
    menubutton $base.fra34.cpd17.03 \
        -anchor w -background grey85 \
        -font -Adobe-Helvetica-Medium-R-Normal-*-*-120-*-*-*-*-*-* \
        -foreground black -highlightbackground grey85 \
        -menu .top17.fra34.cpd17.03.04 -padx 4 -pady 3 -text Edit -width 4 


    scrollbar $base.fra38.fra33.cpd18.02 \
        -background grey85 -borderwidth 1 \
        -command {.top17.fra38.fra33.cpd18.01 xview} \
        -highlightbackground grey85 -highlightthickness 0 -orient horiz \
        -width 10 

...RickM...


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

Reply via email to