[flexcoders] Re: Combobox as itemEditor

2010-06-15 Thread valdhor
Add a change event listener to the combo box and dispatch a custom event to the owner to update the data provider. --- In flexcoders@yahoogroups.com, jonbehr jonb...@... wrote: I have a combobox as an itemEditor in a datagrid. I have an event listener on the datagrid

[flexcoders] Re: Combobox as itemEditor

2010-06-15 Thread jonbehr
Thank, this worked perfectly! --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Add a change event listener to the combo box and dispatch a custom event to the owner to update the data provider. --- In flexcoders@yahoogroups.com, jonbehr jonbehr@ wrote: I have a

[flexcoders] Re: Combobox in ItemEditor

2010-06-14 Thread Goutham
I have changed the combobox as a component instead of a drop in item editor and now it works fine. Thank you, Goutham --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You're trynig to set up binding statements to various properties. What if you eliminate all of those binding

[flexcoders] Re: Combobox in ItemEditor

2010-06-11 Thread Goutham
Hi, any suggestions on this post Thank you, Goutham --- In flexcoders@yahoogroups.com, Goutham goldensu...@... wrote: Hi, the field specified by the column in dataprovider for the datagrid is same as the item in the dataprovider of the combobox heres an example dataprovider for

Re: [flexcoders] Re: Combobox in ItemEditor

2010-06-11 Thread Alex Harui
You’re trynig to set up binding statements to various properties. What if you eliminate all of those binding expressions and let the default behavior run? On 6/11/10 1:00 PM, Goutham goldensu...@yahoo.co.in wrote: Hi, any suggestions on this post Thank you, Goutham --- In

Re: [flexcoders] Re: Combobox in ItemEditor

2010-06-09 Thread Alex Harui
If you got that error, you didn’t set it up correctly. What does your code look like? You basically have to delegate to/from the Grid to the inner ComboBox. On 6/3/10 12:40 PM, Goutham goldensu...@yahoo.co.in wrote: Hi Alex, thank you, I tried it using an id for the combobox, gives me

[flexcoders] Re: Combobox in ItemEditor

2010-06-08 Thread Goutham
Hi, the field specified by the column in dataprovider for the datagrid is same as the item in the dataprovider of the combobox heres an example dataprovider for datagird {name: sample project, status_type: progress} dataprovider for combobox {hold,progress, closed} the column field is

[flexcoders] Re: Combobox in ItemEditor

2010-06-07 Thread Goutham
Hi I am accessing the combobox with the id through object.data = event.currentTarget.itemEditorInstance.foo.SelectedItem it works fine, but the problem I have is, when I click on the combobox in the gird, it defaults to the first item in the dataprovider for the combobox combobox id=foo

Re: [flexcoders] Re: Combobox in ItemEditor

2010-06-07 Thread Alex Harui
The default behavior of a ComboBox in a DataGrid is to match the field specified by the column to an item in the dataProvider. If the dataProvider for the DataGrid contains: { firstName: “Alex”, lastName: “Harui”} And the ComboBox dataProvider contains: [ “Smith”, “Harui”, “Jones”] And the

[flexcoders] Re: Combobox in ItemEditor

2010-06-03 Thread Goutham
Hi Alex, thank you, I tried it using an id for the combobox, gives me an error Access of possibly undefined property foo through a reference with static type mx.containers:Grid and there is also another problem, when I click on the column in the datagrid, the itemeditor changes to a combobox

[flexcoders] Re: Combobox in a Datagrid not retaining values

2010-05-17 Thread md_ars
Hi Alex, There was a mistake in posting the code. However I am not using editorDataField anymore. In the dataGrid my column is defined as given below and it is using combobox component defined below the column code. It is working fine but I have few questions/requirements. a) I have four

[flexcoders] Re: ComboBox fullscreen issue

2010-03-31 Thread elder.mich...@rocketmail.com
Thanks for the response. Would this entail setting styles or the drodownWidth property, or would I need to modify the factory? Is it possible to force the direction the dropdown comes out of the ComboBox? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: mx:ComboBox doesn't

Re: [flexcoders] Re: ComboBox fullscreen issue

2010-03-31 Thread Alex Harui
I’d probably replace the factory with a subclass of List that handles scaling. On 3/31/10 1:20 PM, elder.mich...@rocketmail.com michaer.sp...@gmail.com wrote: Thanks for the response. Would this entail setting styles or the drodownWidth property, or would I need to modify the factory?

RE: [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty

2009-12-19 Thread Tracy Spratt
: [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty Is there [Bindable] before var genreList:ArrayCollection? Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs. http://blogs.adobe.com/aharui adobe.com/aharui From: flexcoders

Re: [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty

2009-12-19 Thread Tino Dai
-- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Alex Harui *Sent:* Thursday, December 17, 2009 2:28 PM *To:* flexcoders@yahoogroups.com *Subject:* [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty Is there [Bindable

RE: [SPAM] Re: [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty

2009-12-19 Thread Tracy Spratt
mailto:flexcoders@yahoogroups.com ups.com Subject: [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty Is there [Bindable] before var genreList:ArrayCollection? Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs. http://blogs.adobe.com/aharui

RE: [SPAM] Re: [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty

2009-12-19 Thread Tracy Spratt
[mailto:flexcod...@yahoogroups.com] On Behalf Of Tino Dai Sent: Saturday, December 19, 2009 11:55 AM To: flexcoders Subject: [SPAM] Re: [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty Tracy, For the novice, how would you go about creating a full renderer? TIA, Tino On Sat

[flexcoders] Re: Combobox in Datagrid appears empty

2009-12-17 Thread emarionjacobs
Yes - the model is bindable - here's the declaration: [Bindable] private var model:ModelLocator = ModelLocator.instance; and here's the declaration for genreList in the model: public var genreList:ArrayCollection = new ArrayCollection(); --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Combobox in Datagrid appears empty

2009-12-17 Thread emarionjacobs
Yes, genreList is declared as an ArrayCollection in the model, and the model is declared as Bindable in the parent document for the datagrid. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Are you sure genreList is an array or ArrayCollection? Is the model bindable? Alex

RE: [flexcoders] Re: Combobox in Datagrid appears empty

2009-12-17 Thread Alex Harui
3:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Combobox in Datagrid appears empty Yes, genreList is declared as an ArrayCollection in the model, and the model is declared as Bindable in the parent document for the datagrid. --- In flexcoders@yahoogroups.commailto:flexcoders

[flexcoders] Re: Combobox in DataGrid

2009-09-14 Thread turbo_vb
Instead of itemEditor use itemRenderer and set rendererIsEditor=true on the DataGridColumn. -TH --- In flexcoders@yahoogroups.com, kumarmenon kumarme...@... wrote: Hi Is there anyway i can show a DataGrid cell with Combobox with arrow shown all the time..Currently the way i have it

[flexcoders] Re: ComboBox not updating

2009-08-20 Thread mitek17
_ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Wednesday, August 19, 2009 12:34 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: ComboBox not updating Thanks. I should add that my combobox is in use

Re: [flexcoders] Re: ComboBox not updating

2009-08-19 Thread Richard Rodseth
Thanks. I should add that my combobox is in use in an item renderer. A colleague had a similar problem which went away when he switched to a repeater. It's not clear which if any of your modifications will help my use case, but I'll try some of them. Is there a bug we can vote on besides the one

Re: [flexcoders] Re: ComboBox not updating

2009-08-19 Thread Richard Rodseth
My solution (which is not a general one) appears to be avoiding using a binding function with selectedIndex. Rather than: mx:ComboBox xmlns:mx=http://www.adobe.com/2006/mxml; dataProvider={this.availableOperators} selectedIndex={findSelectedIndex(this.selectedOperator,

RE: [flexcoders] Re: ComboBox not updating

2009-08-19 Thread Tracy Spratt
To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: ComboBox not updating Thanks. I should add that my combobox is in use in an item renderer. A colleague had a similar problem which went away when he switched to a repeater. It's not clear which if any of your modifications will help my

[flexcoders] Re: ComboBox not updating

2009-08-18 Thread Dmitri Girski
This is an old story with ComboBox selectedIndex. It does not count the fact that binding on SelectedIndex could come well before dataProvider property assignment, so it simply resets itself every time it has dataProvider property being updated. I have rewritten the ComboBox class to make it

Re: [flexcoders] Re: Combobox like on http://www.bombaysapphire.com

2009-08-12 Thread Yesaya handoyo
@huhgawz Thanks,i'll try it out.Are there other possibilties then flexwheel? On 8/12/09, huhgawz huhg...@yahoo.com wrote: --- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,i wonder does anyone ever before create combobox like the one here bombaysapphire.com born detail

Re: [flexcoders] Re: Combobox like on http://www.bombaysapphire.com

2009-08-12 Thread Yesaya handoyo
By the way,how to use it?I look on the web,using minVal and maxVal.In the newest version,there are no minVal and maxVal option...Thanks.. On 8/12/09, Yesaya handoyo yongha...@gmail.com wrote: @huhgawz Thanks,i'll try it out.Are there other possibilties then flexwheel? On 8/12/09, huhgawz

[flexcoders] Re: Combobox like on http://www.bombaysapphire.com

2009-08-11 Thread Bjorn Schultheiss
I'd say its custom. Really nice though. --- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,i wonder does anyone ever before create combobox like the one here bombaysapphire.com born detail combobox http://www.bombaysapphire.com .What did the creator used?Thanks a

RE: [flexcoders] Re: Combobox like on http://www.bombaysapphire.com

2009-08-11 Thread Tracy Spratt
12, 2009 12:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Combobox like on http://www.bombaysapphire.com I'd say its custom. Really nice though. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, yonghan79 yongha...@... wrote: Hi all,i wonder does

[flexcoders] Re: Combobox like on http://www.bombaysapphire.com

2009-08-11 Thread huhgawz
--- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,i wonder does anyone ever before create combobox like the one here bombaysapphire.com born detail combobox http://www.bombaysapphire.com .What did the creator used?Thanks a lot.. Probably this helps you:

[flexcoders] Re: Combobox emtpy inside of tabNavigator

2009-07-22 Thread Tim Hoff
If you cast your service call result to a [Bindable] collection, and bind the collection to the ComboBox's dataProvider, the ComboBox should display populated. With binding you don't have to worry about timing. When the ComboBox is instantiated it will pull the data; if it exists. If not, the

[flexcoders] Re: ComboBox : HBox as ItemRenderer - textRollOverColor problem

2009-06-18 Thread cwicky99
So my fix is this: MyComboRenderer mx:HBox rollOver=onRollOver(); rollOut=onRollOut(); mx:Script ... private function onRollOver():void { lblGroup.setStyle(color, getStyle(textRollOverColor)); } private function onRollOut():void {

[flexcoders] Re: Combobox - force direction

2009-03-27 Thread valdhor
No, using that technique, you copy the required files to your classpath and modify them there. Quote: This will force flex to use mx.controls.ComboBox in your classpath instead of the Framework. If the Framework is updated Flex will still use the modified ComboBox in your classpath. --- In

[flexcoders] Re: Combobox - force direction

2009-03-27 Thread markgoldin_2000
I see, thanks. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: No, using that technique, you copy the required files to your classpath and modify them there. Quote: This will force flex to use mx.controls.ComboBox in your classpath instead of the Framework. If the

[flexcoders] Re: Combobox - force direction

2009-03-26 Thread valdhor
Maybe: http://www.typeoneerror.com/forcing-combobox-component-open-direction-in-flex/ --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Is it possible to force a direction a combobox opens up to? Thanks

[flexcoders] Re: Combobox - force direction

2009-03-26 Thread markgoldin_2000
But if I change framework source code I will have to restore the change every time I upgrade the framework, right? --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Maybe: http://www.typeoneerror.com/forcing-combobox-component-open-direction-in-flex/ --- In

[flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Anthony DeBonis
Are you talking about an example like this? You may be better off creating a reusable/testable component in separate AS or MXML file. mx:Component mx:CheckBox creationComplete=init() mx:Script ![CDATA[

[flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Libby
no, I 'm saying my comboBox displays whats in its data part of its array collection, not its label, when it receives a new batch of data. Your checkbox appears to do the same thing. --- In flexcoders@yahoogroups.com, Anthony DeBonis anth...@... wrote: Are you talking about an example like

RE: [flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Tracy Spratt
: [flexcoders] Re: comboBox in datagrid no, I 'm saying my comboBox displays whats in its data part of its array collection, not its label, when it receives a new batch of data. Your checkbox appears to do the same thing. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Anthony

[flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Libby
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Libby Sent: Tuesday, March 10, 2009 4:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: comboBox in datagrid no, I 'm saying my comboBox displays whats in its data part of its array collection, not its label, when

RE: [flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Tracy Spratt
PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: comboBox in datagrid I wish...no, I'm using labelField in one and a labelFunction in another one, but these are not invoked until you actually click on the dropdown. Thus, when data is first retrieved into the dropdown, the darned thing

RE: [flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Alex Harui
: Tuesday, March 10, 2009 6:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: comboBox in datagrid I wish...no, I'm using labelField in one and a labelFunction in another one, but these are not invoked until you actually click on the dropdown. Thus, when data is first retrieved

RE: [flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Tracy Spratt
Harui Sent: Wednesday, March 11, 2009 12:28 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: comboBox in datagrid I think we need to see some code, like how the renderer is set up. A combobox in a datagrid is a renderer so its data setter will fire setting the selectedItem

[flexcoders] Re: ComboBox selectedIndex revisited

2009-01-27 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: You have a lot of stuff happening in there. Did you debug it to see why it was not working? Particularly the computeSelectedDateRangeIndex() function? Was it being called when you expected? I agree with Tracy. I would

Re: [flexcoders] Re: ComboBox selectedIndex revisited

2009-01-27 Thread Richard Rodseth
I don't know why you say there's a lot of stuff happening. It's just using binding (in the form of a binding function) to set an initial selection. Seems completely legitimate to me. The fact that it's a function rather than a direct reference is because of the well-known ComboBox limitations with

[flexcoders] Re: combobox arrow size and vertical line

2008-12-31 Thread roopal_oswal
--- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Is it possible to skin or change the size or shape of the arrow on the combobox control? Also can you remove or change the vertical line that separates the arrow button from selected item/label? arrow-button-width style can

[flexcoders] Re: combobox arrow size and vertical line

2008-12-31 Thread flexaustin
arrow-button-width or arrowButtonWidth doesn't work. It only changes the width of button the arrow icon, thus the button gets wider but icon stays the same size. TIA --- In flexcoders@yahoogroups.com, roopal_oswal roopal_os...@... wrote: --- In flexcoders@yahoogroups.com, flexaustin

Re: [flexcoders] Re: ComboBox SelectedItem Problem with resultFormat e4x - Very Urgent

2008-12-16 Thread samson kiran
Thank you so much. It worked :). You saved my life, thank you. On Thu, Dec 11, 2008 at 3:32 PM, valdhor valdhorli...@embarqmail.comwrote: Try combobox.selectedit...@data --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, samsonkiran samsonkir...@... wrote: Hi I have

[flexcoders] Re: Combobox text does not render on some

2008-12-11 Thread Tim Hoff
Something's not done correctly. Post some code. -TH --- In flexcoders@yahoogroups.com, darylgmyers [EMAIL PROTECTED] wrote: I have form window with about 20 combobox fields. Each one is bound to a unique arraycollection which is bindable. When the window is first displayed there are 3 of

[flexcoders] Re: ComboBox SelectedItem Problem with resultFormat e4x - Very Urgent

2008-12-11 Thread valdhor
Try combobox.selectedit...@data --- In flexcoders@yahoogroups.com, samsonkiran samsonkir...@... wrote: Hi I have an Flex file (.mxml) in which i am making the HTTPService call to one JSP. This JSP returns me an XML data. I need to populate the comboBox in the FLEX with the data coming

[flexcoders] Re: ComboBox as itemRenderer/editor in Datagrid is not updating dataProvider...

2008-11-25 Thread biosmonkey
My understanding of this function is that it is to cause an update in the rendering of the control attached to the data, which implies that the dataProvider has the correct data - the control is just not showing it. I have the reverse problem. In my case, the renderers (the combo boxes) are

RE: [flexcoders] Re: ComboBox as itemRenderer/editor in Datagrid is not updating dataProvider...

2008-11-25 Thread Tracy Spratt
that *reference* to update any property on the item. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of biosmonkey Sent: Monday, November 24, 2008 8:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox

RE: [flexcoders] Re: ComboBox as itemRenderer/editor in Datagrid is not updating dataProvider...

2008-11-25 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, November 25, 2008 3:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: ComboBox as itemRenderer/editor in Datagrid is not updating dataProvider

[flexcoders] Re: ComboBox with Add New... item

2008-10-23 Thread sunild999999
--- In flexcoders@yahoogroups.com, frosifer [EMAIL PROTECTED] wrote: Does anyone have a good way of creating a ComboBox where the first item is an Add New... option that is NOT part of the underlying data collection (i.e., the data provider). I do not want to add an item at the beginning of

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-14 Thread valdhor
Randy I am definitely interested in a search-as-you-type BindableComboBox. Please share. I also have a search-as-you-type BindableComboBox that's a combination of this component with an auto-complete component I found on the web (not Adobe's) if you're interested.

[flexcoders] Re: ComboBox edit field selection when populated

2008-10-14 Thread valdhor
Thanks Tracy and Mark. I had not seen the AutoComplete component(s) and my Google searches weren't working because I had no idea what it was called. --- In flexcoders@yahoogroups.com, Mark Carter [EMAIL PROTECTED] wrote: Have you tried google for an autocomplete component? This should be

RE: [flexcoders] Re: ComboBox edit field selection when populated

2008-10-10 Thread Tracy Spratt
Of valdhor Sent: Thursday, October 09, 2008 5:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox edit field selection when populated Forgot to ask: Also, how do I get the combobox to popup its list when the combobox populates with the returned items. --- In flexcoders

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-09 Thread valdhor
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Wednesday, October 08, 2008 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-09 Thread valdhor
For something that won't work, it works extemely well. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Nope, this won't work. Next call creates new instances which don't correspond to the instances from the first call. You have to loop through the dataProvider,

Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-09 Thread Haykel BEN JEMIA
, 2008 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have a combobox with a dataprovider of an arraycollection that is returned from a MySQL database. This is populated

Re: [flexcoders] Re: ComboBox in Component ...SOLVED

2008-10-09 Thread Dan Pride
://www.archaeolibrary.com/Gezer/srcview/ Yaba Daba Do --- On Thu, 10/9/08, shaun [EMAIL PROTECTED] wrote: From: shaun [EMAIL PROTECTED] Subject: Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value To: flexcoders@yahoogroups.com Date: Thursday, October 9, 2008, 12:14 AM Dan

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-09 Thread valdhor
Of valdhor Sent: Wednesday, October 08, 2008 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have a combobox with a dataprovider of an arraycollection

[flexcoders] Re: ComboBox edit field selection when populated

2008-10-09 Thread valdhor
Forgot to ask: Also, how do I get the combobox to popup its list when the combobox populates with the returned items. --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: I have a combobox that is unpopulated on open but is editable. As the user types, I check the length of the

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread valdhor
Tracy I must be missing something here. I have a combobox with a dataprovider of an arraycollection that is returned from a MySQL database. This is populated on creationcomplete. Once this arrayCollection is populated I make another call to get specific data. Part of this data is a field that

RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Tracy Spratt
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have a combobox with a dataprovider of an arraycollection that is returned from a MySQL database. This is populated on creationcomplete. Once

RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Dan Pride
to be? Anyway here is the code, thank you for your time. A simple event to say NEW DISPLAY DO IT AGAIN just seems so damn basic. --- On Wed, 10/8/08, Tracy Spratt [EMAIL PROTECTED] wrote: From: Tracy Spratt [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: ComboBox in Component won't open to Saved

RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Dan Pride
View source at http://www.archaeolibrary.com/Gezer/srcview/ very nice feature by the way. Dan --- On Wed, 10/8/08, Dan Pride [EMAIL PROTECTED] wrote: From: Dan Pride [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value To: flexcoders@yahoogroups.com

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Dmitri Girski
Nope, this won't work. Next call creates new instances which don't correspond to the instances from the first call. You have to loop through the dataProvider, find the corresponding item (by label, id, whatever) and say Combo.selectedItem = ArrayCollection(Combo.dataProvider).getItemAt(i) this

Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Josh McDonald
: RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value To: flexcoders@yahoogroups.com Date: Wednesday, October 8, 2008, 9:22 PM No, that should not work unless SDActionItem.platform is a reference to an item in the ComboBox dataProvider. Tracy

RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Paul Kukiel
@yahoogroups.com Subject: Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value Dan, what you're trying to do is a simple thing, but I think you're complicating it. Assuming you're using numbers or strings in your combobox and data, simply bind selectedItem={ currentRecord.myValue

Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread shaun
Dan Pride wrote: My problem is there seems to be no way to kick the event to change the value. Here is the code, all of it. It can be seen in action at [snip] Change: public var currentPerson:Object = new Object(); To: private var _currentPerson:Object = new Object(); [Bindable] public

[flexcoders] Re: Combobox does not hold selected item

2008-09-24 Thread bhaq1972
try var dg:DataGrid = DataGrid(listData.owner); data[colName] = selectedItem; IList(dg.dataProvider).setItemAt(data, dg.selectedIndex); --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Here is latest code. Still does not work: public function

[flexcoders] Re: Combobox does not hold selected item

2008-09-23 Thread markgoldin_2000
Here is latest code. Still does not work: public function handleDataChanged(event:ListEvent):void { var colName:String = DataGrid (listData.owner).columns[listData.columnIndex].dataField; data[colName] = selectedItem;

RE: [flexcoders] Re: Combobox does not hold selected item

2008-09-23 Thread Paul Kukiel
September 2008 11:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Combobox does not hold selected item Here is latest code. Still does not work: public function handleDataChanged(event:ListEvent):void { var colName:String = DataGrid (listData.owner).columns[listData.columnIndex

[flexcoders] Re: Combobox does not hold selected item

2008-09-17 Thread markgoldin_2000
Not sure what you mean. Here is my combobox's dataChange handle: public function handleDataChanged (event:ListEvent):void { var colName:String = DataGrid (listData.owner).columns[listData.columnIndex].dataField;

[flexcoders] Re: Combobox as Custom Renderer

2008-09-14 Thread markgoldin_2000
But I am assigning the custom renderer in code at run time. --- In flexcoders@yahoogroups.com, Joan Lafferty [EMAIL PROTECTED] wrote: If you are using an inline itemRenderer, you can do something like this: mx:List dataProvider={myData} mx:itemRenderer

[flexcoders] Re: Combobox as Custom Renderer

2008-09-14 Thread markgoldin_2000
that is a ComboBox as the itemRenderer. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Sunday, September 14, 2008 4:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Combobox as Custom Renderer But I am assigning the custom renderer

RE: [flexcoders] Re: Combobox as Custom Renderer

2008-09-14 Thread Tracy Spratt
: Sunday, September 14, 2008 4:16 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Combobox as Custom Renderer But I am assigning the custom renderer in code at run time. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogr

RE: [flexcoders] Re: Combobox as Custom Renderer

2008-09-14 Thread Joan Lafferty
How about cui ? Pronounced: Cooey. cheers James On Mon, Sep 15, 2008 at 4:15 AM, Derek Peschel [EMAIL PROTECTED] wrote: On Sun, Sep 14, 2008 at 01:14:21PM -0400, Ian Ward wrote: I want your opinion, which would you rather use? If those are the only two options, I prefer conui. It's easier

[flexcoders] Re: Combobox focus glowing

2008-09-10 Thread flexaustin
Ok found it. Setting focusAlpha = 0 does the trick. But now I have another issue. Is it possible to change the font color in the combobox when the dropdown is activated? I want the font to be white while closed and when it opens change the dropdown font to black and the textfield (top item) to

RE: [flexcoders] Re: Combobox focus glowing

2008-09-10 Thread Alex Harui
setStyle(color, ...) on both dropdown and Combobox? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Wednesday, September 10, 2008 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Combobox focus glowing Ok found it. Setting focusAlpha

[flexcoders] Re: ComboBox Disable Drop Down Items

2008-08-28 Thread wwwpl
I set caret to false. Now the outline doesn't show, but it should jump to the next enabled item. The selection disappears, but I know the selection is on the disabled item. In the finishKeySelection function, it sets the selectedIndex to the next enabled item, but it seems the combobox is

RE: [flexcoders] Re: ComboBox Disable Drop Down Items

2008-08-28 Thread Alex Harui
Hmm. The combobox is handling keystrokes and forwarding to the List. It might be messing things up. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wwwpl Sent: Thursday, August 28, 2008 10:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox Disable

[flexcoders] Re: ComboBox Disable Drop Down Items

2008-08-28 Thread wwwpl
: Hmm. The combobox is handling keystrokes and forwarding to the List. It might be messing things up. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wwwpl Sent: Thursday, August 28, 2008 10:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox

[flexcoders] Re: ComboBox Disable Drop Down Items

2008-08-28 Thread wwwpl
10:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox Disable Drop Down Items I set caret to false. Now the outline doesn't show, but it should jump to the next enabled item. The selection disappears, but I know the selection is on the disabled item

RE: [flexcoders] Re: ComboBox Disable Drop Down Items

2008-08-28 Thread Alex Harui
Subject: [flexcoders] Re: ComboBox Disable Drop Down Items There is a weird thing happening here. Maybe someone could explain it. I changed back to having a disabledFunction variable instead of having the function in this class. I am trying to set the disabledFunction like this: var

[flexcoders] Re: combobox fills in with blank element

2008-07-14 Thread netdeep
: [flexcoders] Re: combobox fills in with blank element Here is the relevant code from the component with the combobox: [Bindable] private var signalList:ArrayCollection = new ArrayCollection(); public function setSignals(sig:ArrayCollection):void { signalList = sig; } mx:ComboBox

[flexcoders] Re: combobox fills in with blank element

2008-07-14 Thread netdeep
I don't think that is going to work except the first time the method is called. I need to be able add more items to the array later on and this would simply overwrite signalList each time and I'd lose the items added previously. --- In flexcoders@yahoogroups.com, Mauricio Rogério Obenaus

[flexcoders] Re: combobox fills in with blank element

2008-07-11 Thread netdeep
Here is the relevant code from the component with the combobox: [Bindable] private var signalList:ArrayCollection = new ArrayCollection(); public function setSignals(sig:ArrayCollection):void {

RE: [flexcoders] Re: combobox fills in with blank element

2008-07-11 Thread Tracy Spratt
Does signalList have an extra element in it? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, July 11, 2008 11:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: combobox fills in with blank

Re: [flexcoders] Re: combobox fills in with blank element

2008-07-11 Thread Mauricio Rogério Obenaus
I had a problem like that, try this: var newList:ArrayCollection(signalList); for (var i:int=0; iarr.length; i++) { if (!newList.contains(arr[i].name)) { newList.addItem(arr[i].name); } signalList = newList; I din´t compile this, no builder available here. Mauricio On Fri, Jul 11, 2008 at

[flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread reflexactions
Try owner.owner Inside itemRenderer owner would be the List, the Lists' owner would be the CB I think --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Alex, I thought that might be the case, but when I use owner.dispatchEvent(myCustomEventInstance,true)

RE: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Battershall, Jeff
@yahoogroups.com Subject: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? Try owner.owner Inside itemRenderer owner would be the List, the Lists' owner would be the CB I think --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote

[flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread reflexactions
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Wednesday, July 09, 2008 2:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? Try owner.owner

RE: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Battershall, Jeff
@yahoogroups.com Subject: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? Cast owner to something like ListBase to get round the compiler error. --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: OK, I tried this but I get a compiler

Re: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Simon Bailey
. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Wednesday, July 09, 2008 2:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? Try

RE: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Battershall, Jeff
] On Behalf Of Simon Bailey Sent: Wednesday, July 09, 2008 2:48 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? Just as a precaution here, this owner parent stuff shouldn't be necessary, you should

[flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Amy
--- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: OK, I tried this but I get a compiler error - owner (which is a DisplayObjectContainer) doesn't have a property owner. I've used code like this in the past var myParent:*=owner while

[flexcoders] Re: ComboBox Problems

2008-07-08 Thread hardaur55
it's got a lot of mess and debug junk, but: public function addedToStageHandler():void { Application.application.log.text += Got Add event\n; Application.application.log.text += MONTH = + monthCB.selectedIndex + \n;

  1   2   3   >