Hi everybody I know form2.tcl is Harald's baby, so I won't be messing with it without his opinion/approval
I've been working with a few forms recently and I found myself creating select input elements initialized with ordered lists of data associating a key to a label to be displayed on the select I thought that having the whole set of value-label pairs in a dictionary would be a safe and apt way to do this. It's easy, straightforward, I don't see side-effects and it would provide a more concise way to initialize it. We maybe could introduce a new switch formname select -dictionary $dict_value from which the whole set of configuration parameters could be deduced (defaults would be passed in the constructor the way we do now) thoughts? -- -- Massimo Manghi Dipartimento di Neuroscienze Unità di Biofisica e Fisica Sanitaria via Volturno 39 43125 Parma --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
