Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I am trying to enable a specific number of optionmenus based on an entry variable.
Hi. First off, always try to make a complete working example, so we don't have to flesh out your code to test it ourselves. I'm not sure if you want 3 Optionmenus, with only 1 active, OR you want a single Optionmenu, in which you can change it's options dynamically based on the Entry callback. You might look at Setting options in Tk::Optionmenu without the callback? I don't know if you are aware of it, but the Optionmenu widget's "options" array setting can be dynamically changed. A simple example: If you really want to have a bunch of disabled Optionmenus laying around, it's your choice, but post a more complete example. I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh In reply to Re: Optionmenu Variable in Name
by zentara
|
|