06-08-2012 10:22 AM
I think the subject is pretty explicative.
Using C++, I need to know if a particular TextField had focus. I have a function that is connected to the "onTextChanging" event of many TextFields.
I see that I have to set manually the new text, I'm using as a reference the speed writer sample. But how can I decide which one is the right one?
Solved! Go to Solution.
06-08-2012 11:46 AM
Check out sample app Stamp Collector, StampCollectorApp:nSelectionChanged.
This uses sender() to find the right object.
(Note: you can do the dynamic_cast directly on sender() without checking if it is null, but you must check that the pointer returned from dynamic_cast is non-null)