Skip to content
⌘ NSIS Forum Archive

dynamically change filter of a Filrequest

3 posts

bolfab#

dynamically change filter of a Filrequest

Hello,

I have a slight problem with my program.

I use a .ini file duplicated in the $PLUGINSDIR.
On my UI, I have a dropList with 2 values in it. Selecting from one to another should change the filter of a fileRequest in order to be able to load different types of files.

Is it possible to do that dynamically ? Actually, it's only loading the filter already written in the ini file.

Thx for your help.
MSG#
Write the new filter to the ini before you show the page. I don't know if it's possible to change the behaviour of an already showing page using InstallOptions. You should really switch to nsDialogs.