B Brian Robinson Active Member Licensed User Longtime User Mar 20, 2015 #1 Not sure if this is a bug as it could be by design, but when you consume the Click event of a segmented control, the indexchanged event doesn't fire. It could be because the click is registered as a momentaryClick event which means the indexchanged would not happen? like I said not sure if it is a bug, but it might be worth noting in the documentation that the click event cancels out the indexchanged event. Cheers Brian
Not sure if this is a bug as it could be by design, but when you consume the Click event of a segmented control, the indexchanged event doesn't fire. It could be because the click is registered as a momentaryClick event which means the indexchanged would not happen? like I said not sure if it is a bug, but it might be worth noting in the documentation that the click event cancels out the indexchanged event. Cheers Brian
Erel B4X founder Staff member Licensed User Longtime User Mar 20, 2015 #2 All views inherit the Click and LongClick events from the View class. There are cases where these events will not do anything useful, like in the case here. However they are still there.
All views inherit the Click and LongClick events from the View class. There are cases where these events will not do anything useful, like in the case here. However they are still there.
B Brian Robinson Active Member Licensed User Longtime User Mar 20, 2015 #3 Makes sense. Thanks for the explanation Erel. Cheers Brian