home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!hplabs!ucbvax!ansa.co.uk!eo
- From: eo@ansa.co.uk (Ed Oskiewicz)
- Newsgroups: comp.lang.tcl
- Subject: Re: Bug in menus of radio buttons
- Message-ID: <9209111653.AA24476@caligula.ansa.co.uk>
- Date: 11 Sep 92 16:53:26 GMT
- References: <18lan7INNs76@agate.berkeley.edu>
- Sender: daemon@ucbvax.BERKELEY.EDU
- Lines: 33
-
-
- John,
-
- Thanks for responding, a couple of people pointed out the -variable switch to
- me. However I think the situation is still a bit confusing to the unwary and
- maybe could be clarified in the documentation. I can (now) appreciate the
- value of grouping radio buttons logically independantly of their placement in
- a menu or packing order in a frame. But this notion of radio button group
- seems quite crucial and is not really brought out in the documentation.
-
- However the existing behaviour seems to me to be idiosyncratic, my suggestion
- for 'less surprising' behaviour is as follows. First change -variable to
- -buttongroup (or something more reminiscent of what is going on), second by
- default (i.e. when -buttongroup is not specified) arrange that radio buttons
- are grouped according to where the user places them, if in a menu all those in
- the menu form a group, if in a frame all those in the frame form a group and
- so on. It should be easy to fabricate a unique buttongroup name
-
- Also, if you remember my original confusion was compounded by the discovery
- that adding a space to the labels caused the two menus to act independantly.
- Thus it seems that within a radio button group that adding a button with the
- same label as an existing label causes it to be regarded as though it were
- 'the same' as the first instance, wouldn't an error be more appropriate as the
- resulting behaviour is not what the programmer thought was going to happen?
-
- Cheers,
-
- Ed Oskiewicz
-
- email: eo@ansa.co.uk (mcsun!uknet!ansa!eo) ANSA,
- tel: +44 223 323 010 Poseidon House,
- fax: +44 223 359 779 Castle Park,
- Cambridge CB3 0RD, UK
-