cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ivan_mysammy
Level 4

How to reload a dialog dispaying a property value

Hi there, I have a DialogBox with Edit fields, a Text field and a "validate" button. it waits for user's input. I hope after clicking "validate" button it will return a value to be displayed on the Text field from custom action. However, the Text field cannot be refreshed itself after push button action.

Therefore, my question is how to refresh or reload a dialogbox after an action.

Thanks!
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

I'm not aware of a built-in way to refresh a dialog box. The closest thing I'm aware of is to define two identical-looking dialogs, and switch between them when the user clicks Validate; this technique works in situations where clicking Next and then Back refreshes the values you want.

(A word from our sponsor: This is one of the techniques discussed in our Advanced Windows Installer course.)
0 Kudos
Ivan_mysammy
Level 4

RobertDickau wrote:
I'm not aware of a built-in way to refresh a dialog box. The closest thing I'm aware of is to define two identical-looking dialogs, and switch between them when the user clicks Validate; this technique works in situations where clicking Next and then Back refreshes the values you want.

(A word from our sponsor: This is one of the techniques discussed in our Advanced Windows Installer course.)


Thanks Robert! It works perfect just like what i want.
(ps: I have taken your MSI training course a couple of weeks ago, it helped. I hope i can have chance to take this advanced course sometime)
0 Kudos
RobertDickau
Flexera Alumni

Good news---and thanks for posting the follow-up!
0 Kudos