About scroll bar
"jeevitesh" <[email protected]> 9 Sep 2006 20:33:23 -0000
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Dear friends,I have a simple problem Need your help. I possess number widget like Text widget, label and button in a single window so naturally my Text Area widget is smaller one, but when I add Scroll bar to my Text widget the scroll bar is getting added for the horizontal entire window. The source code $mw1=MainWindow->new();$scrollbar3 =$mw1->Scrollbar(-orient=>\'horizontal\');$Text3 = $mw1->Text(-background => \'#a0b7ab\',-foreground => \'black\',-width => 85,-height=>6,-font=>\"-*-Courier-Medium-B-Normal--*-120-*-*-*-*-*-*\",-wrap => \"none\",xscrollcommand => [\'set\',$scrollbar3] )->place( -x => 200, -y => 300);$mw1->minsize(qw(550 500));$mw1->geometry(\'+350+200\'); Thank you in advance --++**==--++**==--++**==--++**==--++**==--++**==--++**== ptk mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/ptk