PDA

View Full Version : Update Edit Field with property set by FileBrowse dialog



AndrewFishwick
11-13-2012, 12:49 PM
I have an Edit field that begin's empty. The user uses a button that launches the FileBrowse dialog and allows them to choose a file. This is all working, the file is stored into a property and the functionality is as intended.

The FileBrowse dialog is the .dll one using this tutorial (http://helpnet.installshield.com/installshield16helplib/FileOpenDialog-HowTo.htm)

However, the Edit Field is not being updated once the user chooses the file. Going forward then back a dialog shows the property in the field, but I can't ask the user to do this. I have read that this is an MSI limitation and was wondering if there are any ways around it.

Essentially I need to "refresh" the dialog, or at least the edit field control after the user chooses their file.

Thanks