I've got a DialogEx with an input field. Over the input I put a hotspot that shows another DialogEx with a Calendar plugin when clicked.
When I select a date on the calendar and click the "Close" button, it saves a variable equal to the e_startDate and closes the 2nd DialogEx.
I want that string to show up in the text of the input field on the first DialogEx when I get back to it. (i.e. the input field / hotspot fires a dialog where the user selects a date, and the date shows up in the input).
I tried putting the input.SetText in the OnShow for the first DialogEx, but it will only change the input field if I close that (first) DialogEx and then show it again.
I tried adding the DialogEx.Redraw, but that doesn't seem to work either.
What am I doing wrong?
(hope that all makes some sense)
When I select a date on the calendar and click the "Close" button, it saves a variable equal to the e_startDate and closes the 2nd DialogEx.
I want that string to show up in the text of the input field on the first DialogEx when I get back to it. (i.e. the input field / hotspot fires a dialog where the user selects a date, and the date shows up in the input).
I tried putting the input.SetText in the OnShow for the first DialogEx, but it will only change the input field if I close that (first) DialogEx and then show it again.
I tried adding the DialogEx.Redraw, but that doesn't seem to work either.
What am I doing wrong?
(hope that all makes some sense)
Comment