Unfortunately the Listbox doesnt seem to publish any events. >From http://msdn.microsoft.com/en-gb/library/aa368559(VS.85).aspx
"The ControlEvent Table specifies the control events that are started when a user interacts with a PushButton Control, CheckBox Control, or SelectionTree Control. These are the only controls that a user can use to initiate control events." Is it possible to redesign the UI to use a radio button group to choose between selection via listbox or selection via edit control ? Then the user wouldnt think it was strange if one didnt update the other because they are presented as mutually exclusive options. Its not ideal but MSI UI is quite limited. -----Original Message----- From: Natalia [mailto:natalia.gladk...@arcadia.spb.ru] Sent: 15 July 2009 09:11 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Subscribe Edit to "SelectionChanged" event of ListBox Hello Sebastian, Ok, I see, thank you. Well, does ListBox publish ANY event at all on changing selected item? I can't find any info about it. I will be very grateful if you provide me with a link. Sebastian Brand (Instyler Software) wrote: > > Hello Natalia, > > The SelectionChange event is only published by a DirectoryList, so it > won't update your Edit box when the folder selection in the listbox is > changed. > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http://www.instyler.com > > > > > -----Original Message----- > From: Natalia [mailto:natalia.gladk...@arcadia.spb.ru] > Sent: July 13, 2009 12:16 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Subscribe Edit to "SelectionChanged" event of > ListBox > > > Hello all, > > I'm facing the problem while trying to make a dialog for choosing > start menu folder for creating application shortcut. > > There are 2 controls on the dialog: Edit for entering new folder name > (if user chooses to create a new folder for shortcut) and ListBox in > which existing folders are listed. Behaviour should be like the > following: if user chooses some item in ListBox, Edit should be > updated to the chosen item. > User also should be able to enter new folder name in Edit. > > But now Edit is updated only until some text is entered in Edit. After > that Edit is not updated on changing selected item in ListBox. If I go > to the next dialog and return back, all is working well again until I > manually change text in Edit. > > Here is the code: > > ---------------------------------------------------- > <Control Id="ProgramFolderEdit" Type="Edit" X="20" Y="104" Width="332" > Height="18" Property="EXISTINGFOLDERS"> > <Subscribe Event="SelectionChanged" Attribute="Text" /> </Control> > > <Control Id="ExistingFoldersListBox" Type="ListBox" X="20" Y="143" > Width="332" Height="100" Property="EXISTINGFOLDERS"> > <ListBox Property="EXISTINGFOLDERS"> > </ListBox> > </Control> > ---------------------------------------------------- > > Any ideas?... > -- > View this message in context: > http://n2.nabble.com/Subscribe-Edit-to-%22SelectionChanged%22-event-of > -ListB > ox-tp3249912p3249912.html > Sent from the wix-users mailing list archive at Nabble.com. > > ---------------------------------------------------------------------- > ------ > -- > Enter the BlackBerry Developer Challenge This is your chance to win up > to $100,000 in prizes! For a limited time, vendors submitting new > applications to BlackBerry App World(TM) will have the opportunity to > enter the BlackBerry Developer Challenge. See full prize > > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------- > -------- Enter the BlackBerry Developer Challenge This is your chance > to win up to $100,000 in prizes! For a limited time, vendors > submitting new applications to BlackBerry App World(TM) will have the > opportunity to enter the BlackBerry Developer Challenge. See full > prize details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Subscribe-Edit-to-%22SelectionChanged%22-event-of-L istBox-tp3249912p3261702.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users