Button A programaticly formats the text in a TextArea. The user will then press Button B to perform another operation that depends on the TextArea.Text being correctly formatted.
Button B is enabled at the successful end of the Button A click event. If the text format is changed (caught with the TextChanged event) Button B enabled = False.
Unfortunately doing this Button B is never enabled. I guess the TextChanged event is only fired when the view loses focus. I tried using a boolean flag as well as using the CallSubDelayed method but with no joy.
What is the correct method for doing this?
Button B is enabled at the successful end of the Button A click event. If the text format is changed (caught with the TextChanged event) Button B enabled = False.
Unfortunately doing this Button B is never enabled. I guess the TextChanged event is only fired when the view loses focus. I tried using a boolean flag as well as using the CallSubDelayed method but with no joy.
What is the correct method for doing this?