in reply to Re^2: How to create a scrollbar for multiple objects in TK
in thread How to create a scrollbar for multiple objects in TK

"I have tried this snippet of code but I see no different between this and the original code. "

The solution was tested before I post it, as I always do. My testing was done on WinXP with AS Perl 5.8.4.

"No scrollbars are seen anywhere."

I saw scrollbars around the main frame (actually not really the main frame, but the frame added on top of it, but visually it looks like the scrollbars are for the main frame.) And when you resize the window, the scrollbars move along.

"I believe the scrollbar also need also to be configured before it can be used. "

I did configured scrollbars with Scrolled.

  • Comment on Re^3: How to create a scrollbar for multiple objects in TK

Replies are listed 'Best First'.
Re^4: How to create a scrollbar for multiple objects in TK
by juo (Curate) on Nov 11, 2004 at 07:38 UTC

    Very strange. I also don't see any different. I am running the sample on Windows XP Service pack 2, Perl V5.8.0 and Tk version 800.024. I just get the buttons but no scrollbar or no scrolling is happening. It works fine if I use a text widget instead of a frame, in that case I will get the scrollbars.

    Pieter

      I don't think I am running SP2, but guess that should not be important. However there might be some difference between Tk modules bundled in 5.8.4 and 5.8.0? Hopefully more people can test this with different environments, so we can know what is significant here.