11-04-2011 08:12 AM
I want to fire events when the value of dial control increases to say 10, 20,30 so on. But I can only have one event per control. Is it possible to achieve this
Kind Regards
Austin
Solved! Go to Solution.
11-04-2011 08:42 AM
Is your dial an integer datatype with increment of ten or a Double with arbitrarily fine increment? It can make a big difference.
You could have a value changed event for the dial and only send the value out if it is near or on one of the specified levels. Depends on whaty you are really trying to do.
Lynn
11-04-2011 09:12 AM
Thats exactly what I want to do. Generating events when value is 10, 20, 30, and 40 and I have text labels checked for this dial.
Kind Regards
Austin
11-04-2011 09:59 AM
Austin,
You did not actually ask a question so I am not sure what you want.
What is the data type or numerical representation of your dial? If it is integer, just set the increment to 10 in Properties. Then any value changed event will have a new value at the correct intervals.
Do you not understand how to set the properties of a control? How are you sending the data out of the event structure? What are you doin gwith the data?
Lynn
11-04-2011 10:00 AM - edited 11-04-2011 10:02 AM
Austin,
If I'm interpreting your request correctly I think your best bet is to just use the value changed event and then use a case structure to determine which value the dial has changed to.
Something like this:
Hope this helps.
Regards,
Simon