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-ListBox-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

Reply via email to