LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a event fired from a text ring when re-selecting the curretly selected value?

Solved!
Go to solution

calle111 wrote:

Thank you krsone for this solution!

 

The answer to why i need the event executed if nothing has changed is that in my application the text ring will hold some predefined settings for some other controls. If the user selects one of the predefined settings from the text ring a bunch of other controls will take predefined values. These values in the other controls can now be altered by the user. If the user now wants to re-apply the same set of pre-defined settings as last time it should be as simple as selecting the pre-defined settings from the text ring. If now the same value is selected from the text ring, no event will be executed. (krsones solution will deal with this).

 

I would like to have this behaviour as a standard event.


I'm glad I asked why you wanted to do this. This is counter-intuitive. As a user I would not expect an application to work this way. I think that either altenbach's suggestion of setting the control to a value that says "custom" or something when one of the controls is changed or Lynn's suggestion of having a button to "apply" the pre-defined set is far more intuitive and user-friendly. 

Message 11 of 11
(964 Views)