Your skill will accomplish
what the force of many cannot
Checking state entry widget?!by jerre_111 (Sexton)
|on May 03, 2013 at 09:51 UTC||Need Help??|
jerre_111 has asked for the
wisdom of the Perl Monks concerning the following question:
I have a weird thing going on for a few days now, and I can't seem to find the solution.
I have made a program on unix, using the Tk module. I will gave you the basic code you need to compile it and test it on your own.
This program is just 2 pages of a notebook widget. on the first page there are 2 big entry boxes with buttons aside. These I use to browse for files and save files. This is no problem.
but the entry "cell" gives me throubles. this is the smaller entry on the right of the screen.
When you click the button next, which i placed below the screen, I want to continue to page 2. Butt I only want to continue if the entry widget "cell" is not empty!
I have created a subroutine to check the state of the entry widget, but it always says the widget is empty...
So the mssgbox keeps popping up, eventhoug the entry "cell" is not empty.
I have tryd checking with "" as " " to be sure. nothing works.. I have been looking on it for days now.. Hope someone can help me! beneath is my code
Many Thanks in advance