.
You can clear the TextEntry box with the 'reset' datamember. Connect to it either Panel1.active or Panel1.visible depending on your specifc needs (and where Panel1 is your panel).
E.g.,
TextEntry1.reset = Panel1.visible
BTW, if you want to display a default text then use the 'ResetValue' datamember, if not then just don't connect anything to it.
Rgds,
Khalid 🙂
.