in reply to Re: Tk Listbox problem
in thread Tk Listbox problem

clarification of my previous post.. I want the script to throw an error or prompt for proper input when a user fails to make a selection in the listbox.
Edit: Thanks for the curselection tidbit. Does anyone know of a better way of reading perldoc on win32... dos shell blows.

Replies are listed 'Best First'.
Re: Re: Re: Tk Listbox problem
by bobn (Chaplain) on Jul 21, 2003 at 19:11 UTC

    If Show returns '<NONE>' prompt the user again, thought the curselection() method noted below does look a bit more elegant.

    Also, on my winNT AS 5.6.1 system, perldoc works, if I recall (don't have it here right now). In any event, there shpould be a an item in Start->Programs for ActiveState Perl Documentation, or somethng to that effect.

    --Bob Niederman, http://bob-n.com
Re: Re: Re: Tk Listbox problem
by Anonymous Monk on Jul 21, 2003 at 18:04 UTC
Re: Re: Re: Tk Listbox problem
by jsprat (Curate) on Jul 21, 2003 at 18:14 UTC
    Tk is a standard module with ActiveState, and AS ships HTML docs. Mine is here: D:/Perl/html/site/lib/Tk/Listbox.html. If you're online, try perldoc.com

    That being said, I installed less for windows, changed the background color of my command prompt. Except for the OLE object browser, I don't use the HTML docs any more.