[flexcoders] Continuation dots

2006-12-14 Thread jlentz2112
Hi, Does anyone know of a component that will automatically add the continuation dots (...) if the browser window is sized too small to fit that component? I have an HBox with labels in it. I'd like the labels to change to ... on the end if the HBox gets too small to totally fit the width of the

[flexcoders] Re: Continuation dots

2006-12-14 Thread jlentz2112
Thanks. I'll check them out. John --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: you might want to take a look at Label.truncateToFit() or UITextField.truncateToFit(). - Dan On 12/14/06, jlentz2112 [EMAIL PROTECTED] wrote: Hi, Does anyone know

[flexcoders] Getting Chart to Print Correctly

2006-12-07 Thread jlentz2112
Hi, I've got a screen with an HDividedBox that in one pane holds a Canvas with a column chart. I've followed the FlexPrintJob examples and have added the canvas to the printjob using the FlexPrintJobScaleType.SHOW_ALL. However, the graph is only printing about 2/3 across the width of the page

[flexcoders] Re: Access TextField within ComboBox

2006-12-05 Thread jlentz2112
Try setting the combobox.selectedIndex to -1 to make it use the prompt value. I set prompt= , then when I set combobox.selectedIndex to -1, it clears the field. John --- In flexcoders@yahoogroups.com, bjorn.schultheiss [EMAIL PROTECTED] wrote: Hey, I need to remove the selection on the

[flexcoders] Custom Cell Renderer for Rows of a DataGrid

2006-10-22 Thread jlentz2112
Hi, Does anyone know how to do a custom Cell Rendered for Rows of a DataGrid? All the examples I've seen are for the DataGridColumn. I've got an app where the row values are different types, so I need to be able to use different renderers for different rows. I'd appreciate any help on the

[flexcoders] Setting Min Spacing on BoxChart with Category Axis

2006-10-21 Thread jlentz2112
Hi, I've got a box chart that contains many horizontal items. It is compressing the spacing down to make it all fit on my page and they become unreadable. How can I set the spacing to a minimum between horizontal items, so that they won't get squeezed. My thought is that after I get a minimum

[flexcoders] Determining Type of Data Structure

2006-10-18 Thread jlentz2112
Hi, I've got a servlet returning data from a db query. I use for example psd.lastResult.psn.row as the source for my datagrid. If I get multiple row returned, then the psd.lastRestult.psn.row is an ArrayCollection and I use .toArray() when I set source for the creation of my local

[flexcoders] Re: DataGrid HeaderRenderer and DataProvider

2006-10-16 Thread jlentz2112
:20 PM, jlentz2112 wrote: Thanks for the reply, but unfortunately I don't follow all of it. I'm new to Flex, so could you please explain more? I get the AS3 extending DataGrid. How can you dynamically set the dataProvider to pass in info to the headerRenderer? A small snippet of code

[flexcoders] Re: How to invalidate ViewStack Pages

2006-10-15 Thread jlentz2112
() ... mx:ViewStack But using databinding is even easier. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jlentz2112 Sent: Saturday, October 14, 2006 2:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] How to invalidate ViewStack Pages

2006-10-14 Thread jlentz2112
Hi, I've got a ViewStack that I navigate around using selectedIndex. It works fine the first time I go to a page, but when I leave and return to that same page, I need to have all the TextInput fields re-initialized. It doesn't seem to do that. Returning to a previously selected index displays

[flexcoders] Re: DataGrid HeaderRenderer and DataProvider

2006-10-14 Thread jlentz2112
Expert On Oct 13, 2006, at 8:40 PM, jlentz2112 wrote: Hi, I've got an app where I need a DataGrid that will have a varying number of columns based on the value from a database query. I also need to be able to have each column header display a couple of images and the text provided

[flexcoders] Re: How to invalidate ViewStack Pages

2006-10-14 Thread jlentz2112
on the selectedIndex and re-initialize the pane you're changing to. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jlentz2112 Sent: Friday, October 13, 2006 8:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] DataGrid HeaderRenderer and DataProvider

2006-10-13 Thread jlentz2112
Hi, I've got an app where I need a DataGrid that will have a varying number of columns based on the value from a database query. I also need to be able to have each column header display a couple of images and the text provided by the database query. Is there a way to use a dataprovider to

[flexcoders] Weird ComboBox behavior

2006-10-05 Thread jlentz2112
Hi, I'm hoping someone can explain a weird ComboBox effect I'm seeing. I'm trying to have the ComboBox drop down with the 50 states, but I want it to initially be blank. I've defined the ComboBox as: mx:ComboBox x=354 y=267 maxHeight=200 rowCount=10 width=60 enabled=true id=stateName

[flexcoders] Re: Weird ComboBox behavior

2006-10-05 Thread jlentz2112
= mx:ArrayCollection mx:StringAK/mx:String mx:StringAL/mx:String mx:StringAR/mx:String /mx:ArrayCollection /mx:ComboBox -TH --- In flexcoders@yahoogroups.com, jlentz2112 jelentz@ wrote: Hi, I'm hoping someone can explain

[flexcoders] How to lock columns

2006-10-03 Thread jlentz2112
Hi, I see in the help screens that a data grid is supposed to be able to have a locked column. How do you do that? I've searched through the help area, but it doesn't say how to lock a particular column in a grid. Thanks for any help. jlentz -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Navigating between Screens

2006-10-02 Thread jlentz2112
--- In flexcoders@yahoogroups.com, jlentz2112 [EMAIL PROTECTED] wrote: Hi, I'm new to Flex 2 development. I've seen some tutorials on ViewStacks, but they used a navigator bar or tab bar to switch between screens. I've got an ap that won't have the bars or tabs to switch by. It starts

[flexcoders] Navigating between Screens

2006-10-01 Thread jlentz2112
Hi, I'm new to Flex 2 development. I've seen some tutorials on ViewStacks, but they used a navigator bar or tab bar to switch between screens. I've got an ap that won't have the bars or tabs to switch by. It starts with a login screen, then goes to a data screen that has buttons that when