> 
> > > >   I'm trying to create a scrollable canvas widget within Visual TCL.
> > > > I've associated the scrollbars with the canvas, set the geometry, and
> > > > set size attributes.  The scroll bars move properly, but none
> > > > of the widgets I've placed in the canvas move.  What am I doing wrong
> > > > or missing?
> > > > 
> > > > VTCL 1.2.0
> > > > TCL/TK 8.2
> > > > OS: Win95 (the os choice is dictated to me, it is not by my choice)
> > > > 
> > > 
> > > Note: VTCL 1.20 has a builtin scrollable canvas:
> > > 
> > >    Compound > Insert > System > ...
> > > 
> > > || Ken Bowen      Applied Logic Systems, Inc.         PO Box 400175,     
> > 
> > Tried that, as per your advise.  I still end up with a widget that the
> > scrollbars do nothing.  Again I tried adjusting the same settings as above.
> > Any more suggestions?
> > 
> You may not be placing things on the canvas correctly.
> To see how it all goes, try the following outline:
>  
> In vtcl:
> 
> File > New
>    Name it "dddd"
> Compound > Insert > System > Scrollable Canvas
>    Places the scrolled canvas on your toplevel.
> Save 
>    Name the file "foo.tcl"
> ------
> Use your favorite editor to open foo.tcl
> Place the following lines at the very end of the file:
> 
> .dddd.cpd17.03 create text 50 50 -text "This is some text"
> .dddd.cpd17.03 create oval 5 5 50 50 -fill blue
> 
> Exit and source the file in wish.  The blue oval and text scroll.
> 
> =========================================

How would I modify this to place TK widgets instead of text/shapes?

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