cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Operations on Radio Group on Toolkit GUI

Ketan_Lalcheta
19-Tanzanite

Operations on Radio Group on Toolkit GUI

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

 

0 REPLIES 0
Announcements


Top Tags