Here I attach a example code how to get value changes events when our UI changes dynamically to adapt it to different user interactions.
Unzip and execute main.vi to evaluate this application.