[flexcoders] Re: Custom event inheritance

2005-08-03 Thread svktiilikainen
Hi, and thanks so far. Obviusly, event inheritance does not work the way I described. What I really wanted to know was that [Event] metadata should be inherited by the subclasses, not needing to do anything else to use an inherited event in a subclass. So now 'it's time for something

[flexcoders] Scrollbar placement

2005-11-16 Thread svktiilikainen
Old question, but did not find working solutions. I have a structure in a tab navigator (see below) and I would like to have the scrollbar (when needed) in a specific place. The tab contains a HBox and a Form. HBox is of fixed size and place and should always be visible - no scrollbar. The

[flexcoders] Re: Scrollbar placement

2005-11-17 Thread svktiilikainen
Thank you Sree, this really solves the problem! I owe you one! The upper container Box is actually not needed, the scrollbar appears in the right place when I set minHeight=0 on the Form container. I have no clue as to why this works but it does. Satu Yahoo! Groups

[flexcoders] Lineseries and dataproviders?

2005-05-19 Thread svktiilikainen
Hi there, I've been struggling with line charts containing multiple data series. The data presented is linear so that I'm using LinearAxis for both X and Y axis LineSeries to make the data series. Is there ANY way to assign different data providers to LineSeries objects of one LineChart

[flexcoders] Re: Lineseries and dataproviders?

2005-05-19 Thread svktiilikainen
Thank you, Ely!! Since the dataProvider property of the LineSeries object is not mentioned in the API docs I assumed it did not exist, which is of course my mistake. Sometimes the solution is too near.. As for the second part of my question, say I have a two-dimensional array : var

[flexcoders] Invisible data points in line series

2005-06-02 Thread svktiilikainen
Hi, I am (still) working on line charts. This time I'm wondering whether there is an easy way to make LineSeries objects to show a datapoint even if there is only one value in the whole series to show. Of course, generally, a line consists of at least two values, but a single value should

[flexcoders] Re: Invisible data points in line series

2005-06-03 Thread svktiilikainen
Hi Ely, I have tried a quick-and-dirty implementation, just assigning some pointrenderer to the LineSeries object and defining the pointRadius and pointFill properties of the LineSeries, and this did not work. The datapoint remained invisible. Interestingly, since I use a tool tip for each

[flexcoders] How to change the appearance of a checkbox ?

2005-06-23 Thread svktiilikainen
Dear flexcoders, how is the appearance of a checkbox customised? I want a disabled checkbox (..enabled=false) to look like it is enabled, meaning, not grayed out. The styles of CheckBox apparently allow only the color of the checkbox label to be changed, not the apperance of the rectangle

[flexcoders] Re: How to change the appearance of a checkbox ?

2005-06-23 Thread svktiilikainen
PROTECTED] On Behalf Of svktiilikainen Sent: Wednesday, June 22, 2005 11:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to change the appearance of a checkbox ? Dear flexcoders, how is the appearance of a checkbox customised? I want a disabled checkbox (..enabled=false

[flexcoders] Printing whole lotta pages?

2005-07-05 Thread svktiilikainen
Hi, I need to print a form having two pages. The form consists of boxes, containing layout boxes and grids, containing labels, texts etc. The contents are pretty long so that a vertical scrollbar is displayed on the form. I have studied the PrintJob class and tried various procedures with

[flexcoders] Re: Printing whole lotta pages?

2005-07-06 Thread svktiilikainen
to the desired scaling, For printing two pages, you can call addPage two times after changing the look and feel of the page. Thanks, Nihit From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svktiilikainen Sent

[flexcoders] Custom event inheritance

2005-08-01 Thread svktiilikainen
Hi all, how should a custom event be used in subclasses? I have a custom event specified in the prototype of an AS class, say ScrollSelectList. Now I want to use the event in an instance of a subclass of ScrollSelectList, say DataGrid. If I just write something like mx:DataGrid id=myGrid

[flexcoders] How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
Hi, does anyone know how you can determine the length of text in mx:Text component before the component is drawn? In other words, is it possible to find out that the to-be contents of a Text component are too big to fit into the component without clipping? The Text component here is of fixed

[flexcoders] Re: How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
OK, probably managed to solve this. I can always compare preferredHeight with height and preferredWidth with width, and this seems to work for now. Satu --- In flexcoders@yahoogroups.com, svktiilikainen [EMAIL PROTECTED] wrote: Hi, does anyone know how you can determine the length

[flexcoders] Re: How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
... Leon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svktiilikainen Sent: 10 January 2006 09:16 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to determine the content length in mx:Text? OK, probably managed to solve

[flexcoders] Re: How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
than actual width. This solves my original problem. The second part came as side effect.. Satu -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svktiilikainen Sent: 10 January 2006 10:47 To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
Thanks, Doug, for the tip. This function will be useful. Satu --- In flexcoders@yahoogroups.com, douglowder [EMAIL PROTECTED] wrote: Hi Satu, Have you taken a look at TextFormat.getTextExtent() function? It sounds like that may be what you want. Documentation on the TextFormat class

[flexcoders] Re: Chart VerticlaAxis Maximum

2006-06-26 Thread svktiilikainen
Setting myChart.verticalAxis.maximum in AS (in Flex 1.5) works just fine for me. But have you actually set the verticalAxis as LinearAxis or CategoryAxis in AS or MXML? Eg. myChart.verticalAxis = new mx.charts.LinearAxis(); or xx:myChart xx:verticalAxis mx:LinearAxis maximum=123 /