Its not clear what you are trying to do. <ButtonRelease-1> would used for binding the left mouse button release to something. <1> would be when it is pressed, or I think longer form <Button-1>. To click on a normal Button, you don't have to fiddle with mouse bindings, just plug in a sub to be called. Post some code so that we can see what's going on.

I looked in Buttom.pm. It uses these mouse bindings internally so its possible to see an error like that from the standard widget - the button up routine changes relief of the clicked button back to what it was etc.


In reply to Re: <ButtonRelease-1> is getting displayed by Marshall
in thread <ButtonRelease-1> is getting displayed by mld

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.