Skip to main content
1-Visitor
January 11, 2018
Question

Operations on Radio Group on Toolkit GUI

  • January 11, 2018
  • 0 replies
  • 770 views

Hello

 

I have two questions for Radio Group as below:

  • Is it possible to disable one option in a radio group?

For example, Radio Group has Option A, Option B and Option C. Is it possible to disable (Stop user to select at all ) Option B from radio group at all based on specific scenario?

 

  • I think Above is not possible what is mentioned in question 1. Can I know which was last selected value for radio group?

Again with same example, Radio Group has Option A, Option B and Option C. I have Option C as selected and user selects Option B now. At this point of time, action function of API ProUIRadiogroupSelectActionSet() will be called. For this, I will check whether user has selected option B or not. If Option B is selected (using API ProUIRadiogroupSelectednamesGet()), I would like to programatically set previous option (i.e. Option C as Option B is not allowed) using API ProUIRadiogroupSelectednamesSet(). Concern is how to know User has selected Option C previously when he has clicked on Option B.

 

Feel free to ask in case I am not clearer.

- Ketan