[flexcoders] Re: debugger blows by breakpoints in component

2006-07-07 Thread Scott Romer
We had the same issue when we imported our Beta projects to the GA release. After much struggling, I finally figured it out! You need the source directory icon to look like a folder with an orange/yellow target symbol, rather than an arrow/link symbol. To do this, I deleted the link to the

[flexcoders] Re: Shift-tabbing not working in Firefox with wmode=opaque

2006-07-06 Thread Scott Romer
found with firefox is that you have to have wmode otherwise the browser content will flicker. Sometimes the browser content will appear blank until you resize or scroll. I haven't found a work around for the key issues though. Angus On 06/07/06, Scott Romer [EMAIL PROTECTED] wrote

[flexcoders] DataGrid with dependent columns... recommendation on implementation?

2006-07-06 Thread Scott Romer
Hi All - We have a dataGrid setup with an ArrayCollection as the dataProvider. In addition, we are making this dataGrid editable with ComboBoxes. Does anyone have any recommendations as to what would be a GREAT approach to setup this with dependent columns? i.e. Depending on what you choose

[flexcoders] Re: Using and image as a link

2006-07-06 Thread Scott Romer
Can't you just set buttonMode to true on the image, and then the handCursor automatically shows up? (Seems to work for me...) Just a thought. I suppose both would work though. -Scott --- In flexcoders@yahoogroups.com, Rob Rusher [EMAIL PROTECTED] wrote: I suggest just adding a click event on

[flexcoders] Re: Shift-tabbing not working in Firefox with wmode=opaque

2006-07-05 Thread Scott Romer
seems to open the dropdown? I'm confused at why this has an impact. I'm going to try to convince team that we should not need wmode=opaque, but would still be nice to have a different work around. Thanks for any ideas. -Scott --- In flexcoders@yahoogroups.com, Scott Romer [EMAIL PROTECTED] wrote

[flexcoders] IFrame, wmode, Firefox, and tabbing....

2006-06-27 Thread Scott Romer
So, recently, we were exploring options of including an IFrame on our application to display some external content. In doing so, one solution that we found was to include the wmode=opaque on the Object/Embed tag, and display an absolutely positioned IFrame that is updated during the moving of a

[flexcoders] ComboBase value? Possible bug

2006-06-26 Thread Scott Romer
Hi all - I'm trying to work around an issue that I am having with a custom combo-box. It seems that it is setting the value to empty string (i.e. ""), when it should be null, which is then seen as a difference in the dataGrid itemEditEnd event, and so it tries to cast the "" String to the class

[flexcoders] Triggering update refresh for dataGrid

2006-06-13 Thread Scott Romer
Hello - I have some design constraints which is forcing me to use an Array behind the scenes for updating a dataGrid. In either case, I have a simpler version of the code here, that basically follows an example in the docs except that the update is made directly to the array rather than using

[flexcoders] Re: Triggering update refresh for dataGrid

2006-06-13 Thread Scott Romer
to work until you hit a header, then it works always. Peace, Mike On 6/13/06, Scott Romer [EMAIL PROTECTED] wrote: Hello - I have some design constraints which is forcing me to use an Array behind the scenes for updating a dataGrid. In either case, I have

[flexcoders] Re: Triggering update refresh for dataGrid

2006-06-13 Thread Scott Romer
); } } --- In flexcoders@yahoogroups.com, Scott Romer [EMAIL PROTECTED] wrote: Thanks Mike. You've basically come to the same conclusion I have. I really appreciate your time in trying to figure this out as well.. If you ever get any other ideas, feel free to let me know. I'm just planning to move

[flexcoders] Re: DataGrid sortCompareFunction, is this a bug???

2006-06-13 Thread Scott Romer
I'm not sure if this is a bug, but I found this situation a while ago. The solution that I had to use was to keep track of the column header that is clicked on, and then use that to get the appropriate dataField from the object so that I could compare the two objects. This is not that elegant of

[flexcoders] Re: custom formats in datagrids

2006-05-23 Thread Scott Romer
Out of curiousity: Is this better or worse than creating a custom renderer to format the data? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 23 May 2006 13:52, Tom Chiverton wrote: How does one say 'for this column, use this formatter' ?

[flexcoders] Re: ObjectUtil.compare seems a little incorrect for Boolean values

2006-05-19 Thread Scott Romer
Thanks. I did see the documentation about the 'as' operator. And that is why it confused me that the Flex source code did that for the Boolean. I have hacked around the issue for now, by automatically casting any Boolean's to Numbers before I pass to the ObjectUtil.compare() method. Luckily,

[flexcoders] ObjectUtil.compare seems a little incorrect for Boolean values

2006-05-18 Thread Scott Romer
I am working to override a sortCompareFunction on a column, and in doins so, I am handling my specific case and when applicable, just passing to ObjectUtil.compare() so as not to reimplement all of the simple type checking. One case that I have is when the comparison objects are Booleans.

[flexcoders] Follow-up: ObjectUtil.compare seems a little incorrect for Boolean values

2006-05-18 Thread Scott Romer
So I did a few more tests... it looks like: var a:Boolean = true; var b:Boolean = false; a as Number // 0 b as Number // 0 Number(a) // 1 Number(b) // 0 >From this, I think ObjectUtil class just needs to be updated in the internalCompare function: switch(typeOfA) { case boolean: // Looks

[flexcoders] ObjectUtil.compare seems a little incorrect for Boolean values

2006-05-18 Thread Scott Romer
I am working to override a sortCompareFunction on a column, and in doins so, I am handling my specific case and when applicable, just passing to ObjectUtil.compare() so as not to reimplement all of the simple type checking. One case that I have is when the comparison objects are Booleans.

[flexcoders] Re: F2B3: Placing sort arrow on dataGrid

2006-05-12 Thread Scott Romer
support sorting on a single field (or I need to reimplement how the placeSortArrow()..) My preference is to not reimplement. If you have other ideas, they are much appreciated. Thanks, -scott --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/12/06, Scott Romer

[flexcoders] Re: FB2B3: Transfer Focus from custom editor in dataGrid

2006-05-12 Thread Scott Romer
across datagrids that are positioned next to each other. Any more ideas would be much appreciated? Thanks -scott --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/12/06, Scott Romer [EMAIL PROTECTED] wrote: I have created a custom editor for my dataGrid. I am also

[flexcoders] Re: DataGridColumn Style

2006-05-12 Thread Scott Romer
of headerStyle to this class? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Romer Sent: Thursday, May 11, 2006 5:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] FB2B3: Transfer Focus from custom editor in dataGrid

2006-05-11 Thread Scott Romer
I have created a custom editor for my dataGrid. I am also handling the itemEditEnd event. When focus exists in a cell in this column and I try to TAB out, I am prevented... In tracing through the code, (in DataGrid.as, I believe I know why.. but not sure if this is a bug or by design). Of

[flexcoders] Re: DataGridColumn Style

2006-05-11 Thread Scott Romer
That almost works... perhaps it just needs to be cleaned up a bit. In my mxml file, I included the following: mx:Style DataGrid { headerStyleName:headerStyle; headerColors:#00,#CCD9E6; } .headerStyle { fontWeight:bold; fontSize:10; color:#ff; } /mx:Style NOTE: It looks like

[flexcoders] F2B3: Placing sort arrow on dataGrid

2006-05-11 Thread Scott Romer
I am working on a version of adding generic sorting on my class that extends DataGrid. The placeSortArrow method of DataGrid is marked as protected, so I can call the method, but the arrow will never show up because sortIndex has to be set and is marked private. In addition, I can't set some of

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-11 Thread Scott Romer
I'm working on a very similar problem. When I specify the sortCompareFunction on a DataGridColumn, it looks like it tries to actually execute that function from the SortField. Try tracing through and see for yourself... It looks like it takes the column's datafield and creates a sortField for

[flexcoders] Re: FB2B3 - Source code

2006-05-09 Thread Scott Romer
Take a look in: InstallDir\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\source --- In flexcoders@yahoogroups.com, judah [EMAIL PROTECTED] wrote: I've just downloaded the Flex Builder 2 Beta 3 and I'm having difficulty finding the source code that I heard was going to be in it. I looked

[flexcoders] Re: Null error when using specifying itemRenderer on dataGridColumn

2006-04-28 Thread Scott Romer
ror is for the item editor when you say it's the renderer that you change to fix it. Sounds like a bug to me… I'll forward it inside. Matt -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Scott Romer *Sent:* Thurs

[flexcoders] Null error when using specifying itemRenderer on dataGridColumn

2006-04-27 Thread Scott Romer
I've been struggling for some time now (and I'm assuming this must just be so brain-dead simple)...Trying to set an ItemRenderer and ItemEditor on a datagridColumn. For certain ItemRenderer's, I am getting a null error. (using Flex 2 beta 2)NOTE: I am not trying to use these as my actual