Hi All

I am still a beginner with Perl and Tk. I wrote one GUI scripts in Linux (Red Hat). I have problem with Entry command. The real problem was some other Linux (Red Hat) system taking the Entry value from Key board. But in One system did not take any value for Keyboard. Please let me know what’s wrong with my program or system.

Take a look and see if you can help me.

$fra_left2 = $frame_mid2->Frame(-width=>265,-height=>100,-borderwidth= +>0, -relief=>'groove')->pack(-side=>'left'); $frame3= $fra_left2->LabFrame(-label => "Select Tolerance",-fg=>'#4A14 +0A')->pack(); $frame_left3 = $frame3->Frame(-width=>250, -height=>25,-borderwidth=>1 +,-relief=>'flat',)->pack(); $sel_tol1 = $frame_left3->Frame(-width=>250, -height=>25,-borderwidth= +>1,-relief=>'flat',)->pack(-side=>'left'); $sel_tol2 = $frame_left3->Frame(-width=>250, -height=>25,-borderwidth= +>1,-relief=>'flat',)->pack(-side=>'left'); $sel_tol1 ->Label(-text=>"Comparision Tolerance", -anchor=>'c',-width= +>20, -fg=>'#996633',)->pack(-expand=>'both',-fill=>'both',-side=>'lef +t'); $sel_tol2->Entry(-width=>10,-font=>'{times} 14 bold',-fg=>'red', -bg= +>'#DBDBDB',-textvariable=>\$sele_tol)->pack(-side=>'left');
Ramesh Babu K C

In reply to TK Entry command by baba.ramesh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.