in reply to Tk Optionmenu default value

http://perltk.org/ptknews/18675.htm
$start_month_field->setOption("March");
`perldoc -f localtime'.

perlTk may not have every single option documented, but it's easy to use perltk.org to search for info or just look at the perl source, or at the tcl/tk documentation.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Tk Optionmenu default value
by Anonymous Monk on Jul 11, 2003 at 09:20 UTC
    Thanks very much PodMaster! That works nicely, and if I change it to $start_month_field->setOption(March=>'03'); it sets the variable to the correct number. Thanks again