I have a search text box where I added and X icon that changes visibility depending on the text in the search box.
for the X icon: If len(TextBoxSearch.Text)=0 visible false else true.
When the X is visible and th euser clicks on it, it should clear the contents of the search box but it is not working
OnSelect: TextBoxSearch.Clear; (not working)
OnSelect: TextBoxSearch.text=""; (not working)
OnSelect: TextBoxSearch.text=" ";TextBoxSearch.text=" "; (not working)
Please advise.