>>>>OptionGroup.Value property returns exactly what you are looking for.
>>>
>>>Can you give me an example? like optiongroup.1 = .t. ?
>>
>>I'm sorry, I don't understand thi syntax: optiongroup.1 = .t.
>>Use standard method/property/events.
>
>In the 'OK' button, I wanted to know an example of correct syntax in testing for which option the user had highlighted.
OptionGroup.Value is exact number of option selected by user. If e.g. OptionGroup contains 3 option and Value=2, it means that second option has been selected.
Edward Pikman
Independent Consultant