Radio button problem (OpenInsight Specific)
At 17 JAN 2000 11:52:13AM Colin Rule wrote:
One user has some radio buttons display but there is no button.
For example a radio button with 3 choices sometimes displays choice 1,2,3 other times choice 1,2 other times 1,3.
It is intermittent.
I have seen it only once on my laptop.
Anyone have any ideas why?
At 17 JAN 2000 02:35PM Don Miller - C3 Inc. wrote:
Colin..
The only time I have seen this is when you have multivalued data in a radio-button control. Radio Buttons don't support this structure. You might check your data with an editor.
Don Miller
At 17 JAN 2000 11:46PM Don Bakke wrote:
Colin,
I've seen radio buttons display a little flaky when resources are very low. This is also more evident when the radio buttons are dynamically created.
At 18 JAN 2000 04:05AM Oystein Reigem wrote:
Colin,
I've seen it too, and asked about it on the lists. The only explanation I thought perhaps could fit was Don Bakke's, with low resources.
I cannot remember having had your "discontinuous" case 1,3, though. I've had 1 and 1,2.
Are your label texts long? I'm not sure, but it's possible I've only seen the problem with long labels.
Once I had the problem I just put the label texts in separate text controls. But since you have to start with some label text in the radio button group, you must either (a) get rid of that text at runtime, or (b) select a text you can accept to have visible.
When I had the problem I chose (b). I made my button label texts "(1)", "(2)", etc. In my case that was acceptable.
I remember I did some experiments with (a) too. What I tried was to change the label texts programmatically to "". But there was an annoying accent-like artefact turning up when the user clicked a button.
Looking at the problem again a better solution seems to be to just change the SIZE of the radio button group. If I set my labels to "1", "2", etc (digits are fine as dummy labels, and they even have a fixed width), I can make the labels invisible by reducing the radio button group's SIZE by 12 pixels. Btw - changing the size of a radio button group has to be done programmatically.
- Oystein -
At 19 JAN 2000 03:28AM Colin Rule wrote:
Oystein,
Yes, the specific radio buttons are quite long, so I will investigate this area further, especially relating to low resources.
Thanks everyone.