7/18/2023 8:49 AM | |
Joined: 1/21/2013 Last visit: 10/10/2024 Posts: 3173 Rating: (491)
|
Hi, When you use the OnPropertyChanged event on a selection item, the item property is of type SelectionItem. Unfortunately, this object type does not have a Parent property like other items. Therefore, it is not possible to access the checkbox group inside the selection item. So I would suggest using the OnPropertyChanged event on the process value. In the case of a checkbox group, only one bit of the process value can change. So using a bitwise XOR it is possible to get the ID of the changed item. I have created a small script that changes the text of a text box (named "tb") that displays the ID and text of the changed checkbox. Put the following inside your OnPropertyChanged event of the process value:
and add a global variable:
Kind regards |
This contribution was helpful to1 thankful Users |
Follow us on