Re: [flexcoders] mx:Text - how to get number of lines of text?

2007-11-03 Thread Paul Booth
-- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Paul Booth *Sent:* Friday, November 02, 2007 10:39 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] mx:Text - how to get number of lines of text? Hi, I have an mx:Text control

Re: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Paul Booth
You can select the older version of subclipse (1.0.6 I think) to add to FB on windows. I did it a few weeks ago and it works well. On 02/11/2007, Paul Decoursey [EMAIL PROTECTED] wrote: I mean FlexBuilder on windows is eclipse 3.1 and subclipse requires 3.2. On Nov 2, 2007, at 9:13 AM,

[flexcoders] mx:Text - how to get number of lines of text?

2007-11-02 Thread Paul Booth
Hi, I have an mx:Text control and I want to know the length of the last line. I can do this with the following: var metrics:TextLineMetrics = myTextControl.getLineMetrics (indexOfLastLine); Trouble is, I don't the right value for 'indexOfLastLine' because I don't know how many lines there are

Re: [flexcoders] ItemDoubleClick - how to detect Ctrl key?

2007-09-17 Thread Paul Booth
That did the trick - Thanks. On 14/09/2007, Alex Harui [EMAIL PROTECTED] wrote: Try picking up the mouse even in capture phase. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Paul Booth *Sent:* Friday, September 14, 2007 2

[flexcoders] ItemDoubleClick - how to detect Ctrl key?

2007-09-14 Thread Paul Booth
Hello, I am processing the ItemDoubleClick event for a datagrid which receives a ListEvent. I would like to know if the user was pressing the control key when they double clicked but I can't seem to find this information. Can someone enlighten me? Thanks, Paul. PS: I tried intercepting the

Re: {Disarmed} RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex

2007-05-24 Thread Paul Booth
Try using SQL like that contained at http://weblogs.asp.net/scottgu/archive/2006/01/07/434787.aspx You pass in the pageIndex and the numRows you want and let the sql get the right page of data for you. Paul. On 24/05/07, barry.beattie [EMAIL PROTECTED] wrote: Jurgen please forgive me for

Re: [flexcoders] Re: Datagrid - case-insensitive sort

2007-05-06 Thread Paul Booth
: String = ob1.dataField.toString().toLowerCase(); var s2 : String = ob2.dataField.toString().toLowerCase(); if (s1s2) return 1; if (s1 s2) return -1; return 0; } --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/5/07, Paul Booth [EMAIL

[flexcoders] Datagrid - case-insensitive sort

2007-05-05 Thread Paul Booth
Hi, When I click on a column header to sort a datgrid column the sort is case sensitive e.g. the values aa, AA, bb, BB are displayed as AA BB aa bb I can't find a way to tell the Datagrid (or DatagridColumn) to sort in a case-insensitive manner. Can someone please enlighten me? Thanks, Paul.