cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
harid38
Level 5

Enable/disable Next button immediately after browsing a file

i have a custom dialog in which i have a text field and a browse button. The next button needs to be enabled only when the user browses for a specific file.

I'm using Basic MSI project.

initially i am disabling the next button with condition

LICENSE_TEXT_FLD = ""

enabling with condition

LICENSE_TEXT_FLD <> ""



Next button is disabled initialy and when i browse for a file it is appearing on the text field, but the next button was not enabled untill i press a tab.
Is it possible to enable the next button immediately i browse for a file.
Labels (1)
0 Kudos
2 Replies
DanCla
Level 5

To make this work you will have to:

-Clone the dialog

-On the original dialog add a new dialog event to the browse button and point it to the cloned dialog.

-On the cloned dialog add a new dialog event to the browse button and point it to the original dialog.
0 Kudos
harid38
Level 5

DanCla wrote:
To make this work you will have to:

-Clone the dialog

-On the original dialog add a new dialog event to the browse button and point it to the cloned dialog.

-On the cloned dialog add a new dialog event to the browse button and point it to the original dialog.


Thanks it worked
0 Kudos