I am using a combo box on a form when I want the end user to edit a profile. The combo box is populated using the data provider property where it loads the contents of an XML file.
Does anyone know how I can set the "value" of the combo box? I have a class that stores values such as "company", "department", etc. The department combo box has all the options listed and I need it to intially have selected the current value. I set the "text" property but when the form loads the first item in the combo box is selected rather than my value. I realize that I could set the selectedIndex property but how would I know which index is the one for the value I need? Any suggestions would be helpful. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

