CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Perl Tk - DialogBox help



Dec 28, 2010, 10:07 PM

Post #1 of 1 (532 views)
Perl Tk - DialogBox help Can't Post


I am trying to get some information from the user using a DialogBox.

I have entered a Text widget in it so it is important to enable pressing <Return> key to enter multiple lines in the Text widget.

My problem is that when I press the <Return> key it immediately invokes the default button of the widget.

I have tried to disable the default button, but if I leave the -default_button configuration empty it selects it by herself,

and if I try to enter a button name that is not in the widget (so it won't have a default button) it prints to STDERR (which I really don't want)

is there any way to disable the default button / bind the default button to some other key (like mouse key or something) ?



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives