in reply to perl/Tk scrollbar aligning
I'm probably just being thick here but what do you mean by aligning the scrollbar?
Do you want to change the position of the scrollbar in relation to the listbox? In that case change the specification in -scrollbars => 'osoe', for example 'onow' will put scrollbars on the top and left ('north' and 'west') sides of the listbox.
Or did you mean that you want the initial position of the 'slider' (the bit that you can slide around that represent the current view) to be set to the right of your listbox? You might be able to do this by $listbox->xview("moveto,1"), or something similar, I don't have time to test this just now. Have a look at the Tk::Scrollbar perldoc.
Hope that helps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl/Tk scrollbar aligning
by TomK32 (Monk) on Nov 30, 2001 at 20:51 UTC | |
by kevin_i_orourke (Friar) on Dec 03, 2001 at 16:35 UTC | |
|
Re: Re: perl/Tk scrollbar aligning
by maderman (Beadle) on Nov 30, 2001 at 21:59 UTC | |
by TomK32 (Monk) on Dec 01, 2001 at 00:18 UTC |