Re: 2 Table and 1 vertical scroll
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: 2 Table and 1 vertical scroll

From: C. Plater <cplater@yahoo.com>
Date: Fri Sep 02 2005 - 11:05:54 CEST

harish.dewan@gmail.com wrote:
> Hi few days back I had a query relating "2 Table and 1 vertical scroll,
> I wanted to know if this is possible in tcl/tk"
>
> Thanks for your reply.
> As per your suggestions I tried that and I am able to do that, but I
> have a problem in it.
> I think it is due to pack command, not getting what actually problem is
> 1) In GUI, table1 is big and table 2 is small. I have set the width
> also then also there is no change in GUI.
> 2) if I click on scrollbar it gives error and if I click at any other
> place in scrollbar , it scrolls
>
>
>
You get an error because when you call scroller, it need 5 parameters
and you only give it 2.
> proc scroller {W1 W2 v1 v2 v3} {

> scrollbar .ss.time.right.yscroll -command { scroller .ss.time.left.cleft .ss.time.right.cright }

That is what the error message is saying. You specify W1 and W2 but no
v1 v2 or v3.

C. Plater
Received on Thu Sep 29 14:34:40 2005