[flexcoders] Re: Combo Box Quirk or Bug
The bound data array changes, thats why its in a function. It binds properly and works fine EXCEPT for selecting items, which should have nothing to do with the binding of the data as the data is bound properly and listed fine. It just doesn't allow you to select an option without selecting it twice. --- In flexcoders@yahoogroups.com, greenfishinwater [EMAIL PROTECTED] wrote: maybe it is because you have not called the function assign data, as it is in here that the dataprovider binding is setup. Why not set the binding up on the combo: mx:ComboBox id=assetMFR editable=true dataProvider={arrData}/ and make sure that the array arrData, is defined outside of the function Andrew --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: It is not a seperate text field, but the combo boxes' own text fields that they won't fill in. The data is bound by setting the data provider to an Array of strings. function assignData() { var arrData:Array = new Array(string1, String2); assetMFR.dataProvider = arrData; } mx:ComboBox id=assetMFR editable=true / Typing in an entry works fine, however, selecting an entry from the drop down list doesn't work at all until you do it a second time. --- In flexcoders@yahoogroups.com, greenfishinwater [EMAIL PROTECTED] wrote: How do you do the data binding to the textbox, can either of the 3 combo boxes populate the text field? I do something similar where I display the description from the combo box: mx:Model id=selectedDescriptions selForecastAge{forecastAgeCBO.selectedItem.label}/selForecastAge Then my label has: mx:Label text=Use: {selectedDescriptions.selForecastAge} x=10 y=625 width=260 / Andrew --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: I have 3 editable combo boxes in a panel and when an item is selected, nothing appears in the text box. When an item is selected a second time, it works properly. Is this just a quirk of the Editable combobox or is this a bug? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hr3k86r/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122664583/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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/ * 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/
[flexcoders] Re: Combo Box Quirk or Bug
The bound data array changes, thats why its in a function. It binds properly and works fine EXCEPT for selecting items, which should have nothing to do with the binding of the data as the data is bound properly and listed fine. It just doesn't allow you to select an option without selecting it twice. I get the same problem, having to make the selection twice, with another combobox: mx:ComboBox id=assetLocation width=210 text={data.assetLocation} editable=true mx:dataProvider mx:Array mx:String/mx:String mx:StringPW3N/mx:String mx:StringPW4N/mx:String mx:StringPW5N/mx:String mx:StringPW6N/mx:String mx:StringMAC/mx:String mx:StringESCH/mx:String mx:StringTPSCBLDG1/mx:String mx:StringTPSCBLDG2/mx:String mx:StringTPSCBLDG6/mx:String /mx:Array /mx:dataProvider /mx:ComboBox --- In flexcoders@yahoogroups.com, greenfishinwater [EMAIL PROTECTED] wrote: maybe it is because you have not called the function assign data, as it is in here that the dataprovider binding is setup. Why not set the binding up on the combo: mx:ComboBox id=assetMFR editable=true dataProvider={arrData}/ and make sure that the array arrData, is defined outside of the function Andrew --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: It is not a seperate text field, but the combo boxes' own text fields that they won't fill in. The data is bound by setting the data provider to an Array of strings. function assignData() { var arrData:Array = new Array(string1, String2); assetMFR.dataProvider = arrData; } mx:ComboBox id=assetMFR editable=true / Typing in an entry works fine, however, selecting an entry from the drop down list doesn't work at all until you do it a second time. --- In flexcoders@yahoogroups.com, greenfishinwater [EMAIL PROTECTED] wrote: How do you do the data binding to the textbox, can either of the 3 combo boxes populate the text field? I do something similar where I display the description from the combo box: mx:Model id=selectedDescriptions selForecastAge{forecastAgeCBO.selectedItem.label}/selForecastAge Then my label has: mx:Label text=Use: {selectedDescriptions.selForecastAge} x=10 y=625 width=260 / Andrew --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: I have 3 editable combo boxes in a panel and when an item is selected, nothing appears in the text box. When an item is selected a second time, it works properly. Is this just a quirk of the Editable combobox or is this a bug? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hh681hv/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122664759/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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/ * 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/
[flexcoders] Re: Combo Box Quirk or Bug
How do you do the data binding to the textbox, can either of the 3 combo boxes populate the text field? I do something similar where I display the description from the combo box: mx:Model id=selectedDescriptions selForecastAge{forecastAgeCBO.selectedItem.label}/selForecastAge Then my label has: mx:Label text=Use: {selectedDescriptions.selForecastAge} x=10 y=625 width=260 / Andrew --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: I have 3 editable combo boxes in a panel and when an item is selected, nothing appears in the text box. When an item is selected a second time, it works properly. Is this just a quirk of the Editable combobox or is this a bug? -- 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/ * 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/
[flexcoders] Re: Combo Box Quirk or Bug
It is not a seperate text field, but the combo boxes' own text fields that they won't fill in. The data is bound by setting the data provider to an Array of strings. function assignData() { var arrData:Array = new Array(string1, String2); assetMFR.dataProvider = arrData; } mx:ComboBox id=assetMFR editable=true / Typing in an entry works fine, however, selecting an entry from the drop down list doesn't work at all until you do it a second time. --- In flexcoders@yahoogroups.com, greenfishinwater [EMAIL PROTECTED] wrote: How do you do the data binding to the textbox, can either of the 3 combo boxes populate the text field? I do something similar where I display the description from the combo box: mx:Model id=selectedDescriptions selForecastAge{forecastAgeCBO.selectedItem.label}/selForecastAge Then my label has: mx:Label text=Use: {selectedDescriptions.selForecastAge} x=10 y=625 width=260 / Andrew --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: I have 3 editable combo boxes in a panel and when an item is selected, nothing appears in the text box. When an item is selected a second time, it works properly. Is this just a quirk of the Editable combobox or is this a bug? -- 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/ * 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/
[flexcoders] Re: Combo Box Quirk or Bug
maybe it is because you have not called the function assign data, as it is in here that the dataprovider binding is setup. Why not set the binding up on the combo: mx:ComboBox id=assetMFR editable=true dataProvider={arrData}/ and make sure that the array arrData, is defined outside of the function Andrew --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: It is not a seperate text field, but the combo boxes' own text fields that they won't fill in. The data is bound by setting the data provider to an Array of strings. function assignData() { var arrData:Array = new Array(string1, String2); assetMFR.dataProvider = arrData; } mx:ComboBox id=assetMFR editable=true / Typing in an entry works fine, however, selecting an entry from the drop down list doesn't work at all until you do it a second time. --- In flexcoders@yahoogroups.com, greenfishinwater [EMAIL PROTECTED] wrote: How do you do the data binding to the textbox, can either of the 3 combo boxes populate the text field? I do something similar where I display the description from the combo box: mx:Model id=selectedDescriptions selForecastAge{forecastAgeCBO.selectedItem.label}/selForecastAge Then my label has: mx:Label text=Use: {selectedDescriptions.selForecastAge} x=10 y=625 width=260 / Andrew --- In flexcoders@yahoogroups.com, charlespaz1 [EMAIL PROTECTED] wrote: I have 3 editable combo boxes in a panel and when an item is selected, nothing appears in the text box. When an item is selected a second time, it works properly. Is this just a quirk of the Editable combobox or is this a bug? -- 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/ * 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/