How to detect when a user clicks on a text box?

Was able to get this working with the ‘OnPreviewMouseButtonDown’ function. The text box consumes the click event so when I placed a button or anything else below it, their OnClicked event never fired.