Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I clear a TextEntry control programatically with Lookout 4.0.1?

I am trying to put together an entry form using TextEntry objects in Lookout 4.0.1 build 51. I want to clear out the previous text from the TextEntry controls when the panel activates. This was an easy thing to do in Lookout 3.8 but the nature of the Remote field has changed and I don't think I understand how it works. Thanks...
0 Kudos
Message 1 of 2
(3,216 Views)
.


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 🙂


.
0 Kudos
Message 2 of 2
(3,216 Views)