edit box


Recommended Posts

Posted

What are you using it for?

The easiest way is to make sure the variable that the edit box is editing persists its content (using registry variables or one of many other ways), and then in a start up sequence, put:

Page.updateEdits()

Posted

Thanks, this worked well. One other question, how is it possible to restore Date and Time Edit values on reset? I tried prescribing them also as a registry variable and used Page.update however the values defaulted to the reconnect date and time. I am trying to turn off a relay at one time and turn it off at another and in case of reset need to ensure the original inputs are restored. I am using a UE9.

Thanks again Mark

Posted

You can always set the contents directly. For example, to set the contents of a date/time edit component named "dtedit" to the current system time:

component.dtedit.Contents = systime()

Archived

This topic is now archived and is closed to further replies.