M
Maury Markowitz
Here's my task:
Users want to select one of a number of possible options. when they
select one, it is written out as a text value to a table. These
options are subject to change at any time, the list will be changing
often.
I decided that the best UI for this task would be an option group -
yes, a pop-up would work, but would not be as easy to use - the user
needs to study the entire list to see which selection is appropriate.
So I made an OptionGroup, placed Option Buttons in them, and changed
the option button's associated labels to be the different selections.
This way I can easily modify the list simply by changing the caption
on the label, or alternately adding and removing buttons.
I'm stumped how to read the text in the label though. I found that if
you trap the AfterUpdate on the _group_ the control number is
returned, so I did this...
AttributionGroup.Controls(AttributionGroup.value)
which returns the right control number, for instance, "2". I can use
that handle to talk to the selected control, but what question do I
ask it? What is the path to the label associated with that option
button?
Maury
Users want to select one of a number of possible options. when they
select one, it is written out as a text value to a table. These
options are subject to change at any time, the list will be changing
often.
I decided that the best UI for this task would be an option group -
yes, a pop-up would work, but would not be as easy to use - the user
needs to study the entire list to see which selection is appropriate.
So I made an OptionGroup, placed Option Buttons in them, and changed
the option button's associated labels to be the different selections.
This way I can easily modify the list simply by changing the caption
on the label, or alternately adding and removing buttons.
I'm stumped how to read the text in the label though. I found that if
you trap the AfterUpdate on the _group_ the control number is
returned, so I did this...
AttributionGroup.Controls(AttributionGroup.value)
which returns the right control number, for instance, "2". I can use
that handle to talk to the selected control, but what question do I
ask it? What is the path to the label associated with that option
button?
Maury