in reply to Tk::ListBox questions

2. When I click the checkbox, how do I enable the listbox so that the user is now able to select items from the list?

With $listbox->configure(-state => 'normal'); in the event handler of that checkbox.

Replies are listed 'Best First'.
Re^2: Tk::ListBox questions
by g_speran (Scribe) on Mar 17, 2008 at 13:32 UTC
    I tried adding the following in the subroutine, but it had no effect
    sub Additional_Criteria { #code her to test if check box is selected or not if ($chkoptions) { print "Enable\n"; $lst_properties->configure(-state=>'normal'); } else { print "Disable\n"; #Code here to DISABLE ListBox } }