RE: [flexcoders] DateChooser X and Y?
Many thanks Gordon, it works a treat! Linc _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 9:32 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? Handle the DateField's open event and set the position of its dropdown. The dropdown property is in the mx_internal namespace (which means it is subject to change without notice) but you can stil access it. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private function dateField_openHandler(event:Event):void { dateField.mx_internal::dropdown.x = 10; dateField.mx_internal::dropdown.y = 10; } ]] /mx:Script mx:DateField id=dateField open=dateField_openHandler(event)/ /mx:Application - Gordon _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 3:35 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? yes _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 6:07 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? x and y are properties, not styles. A DateField pops up its DateChooser in a location relative to the DateField. Are you trying to make it pop up in some location you specify? - Gordon _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 1:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? You are right - I missed the Show Inherited Public Properties . Can this be determined if accessed via the DateField? I have been looking at dateChooserStyleName as below but this didn't work: ?xml version=1.0 encoding=utf-8? mx:ApolloApplication layout=absolute xmlns:mx=http://www.adobe.com/2006/mxml; . mx:Style .myDateChooser{x:200;y:200} /mx:Style mx:DateField dateChooserStyleName=myDateChooser/ /mx:ApolloApplication Linc _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 12:35 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? In what sense do these appear to be missing? I see them in the Language Reference as inherited properties. - Gordon _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 4:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateChooser X and Y? There appears to be no x and y attributes for this component but is it still possible to define exactly where the DateChooser will appear? Linc
RE: [flexcoders] DateChooser X and Y?
In what sense do these appear to be missing? I see them in the Language Reference as inherited properties. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 4:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateChooser X and Y? There appears to be no x and y attributes for this component but is it still possible to define exactly where the DateChooser will appear? Linc
RE: [flexcoders] DateChooser X and Y?
You are right - I missed the Show Inherited Public Properties . Can this be determined if accessed via the DateField? I have been looking at dateChooserStyleName as below but this didn't work: ?xml version=1.0 encoding=utf-8? mx:ApolloApplication layout=absolute xmlns:mx=http://www.adobe.com/2006/mxml; . mx:Style .myDateChooser{x:200;y:200} /mx:Style mx:DateField dateChooserStyleName=myDateChooser/ /mx:ApolloApplication Linc _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 12:35 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? In what sense do these appear to be missing? I see them in the Language Reference as inherited properties. - Gordon _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 4:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateChooser X and Y? There appears to be no x and y attributes for this component but is it still possible to define exactly where the DateChooser will appear? Linc
RE: [flexcoders] DateChooser X and Y?
x and y are properties, not styles. A DateField pops up its DateChooser in a location relative to the DateField. Are you trying to make it pop up in some location you specify? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 1:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? You are right - I missed the Show Inherited Public Properties . Can this be determined if accessed via the DateField? I have been looking at dateChooserStyleName as below but this didn't work: ?xml version=1.0 encoding=utf-8? mx:ApolloApplication layout=absolute xmlns:mx=http://www.adobe.com/2006/mxml; . mx:Style .myDateChooser{x:200;y:200} /mx:Style mx:DateField dateChooserStyleName=myDateChooser/ /mx:ApolloApplication Linc From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 12:35 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? In what sense do these appear to be missing? I see them in the Language Reference as inherited properties. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 4:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateChooser X and Y? There appears to be no x and y attributes for this component but is it still possible to define exactly where the DateChooser will appear? Linc
RE: [flexcoders] DateChooser X and Y?
yes _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 6:07 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? x and y are properties, not styles. A DateField pops up its DateChooser in a location relative to the DateField. Are you trying to make it pop up in some location you specify? - Gordon _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 1:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? You are right - I missed the Show Inherited Public Properties . Can this be determined if accessed via the DateField? I have been looking at dateChooserStyleName as below but this didn't work: ?xml version=1.0 encoding=utf-8? mx:ApolloApplication layout=absolute xmlns:mx=http://www.adobe.com/2006/mxml; . mx:Style .myDateChooser{x:200;y:200} /mx:Style mx:DateField dateChooserStyleName=myDateChooser/ /mx:ApolloApplication Linc _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 12:35 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? In what sense do these appear to be missing? I see them in the Language Reference as inherited properties. - Gordon _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 4:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateChooser X and Y? There appears to be no x and y attributes for this component but is it still possible to define exactly where the DateChooser will appear? Linc
RE: [flexcoders] DateChooser X and Y?
Handle the DateField's open event and set the position of its dropdown. The dropdown property is in the mx_internal namespace (which means it is subject to change without notice) but you can stil access it. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private function dateField_openHandler(event:Event):void { dateField.mx_internal::dropdown.x = 10; dateField.mx_internal::dropdown.y = 10; } ]] /mx:Script mx:DateField id=dateField open=dateField_openHandler(event)/ /mx:Application - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 3:35 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? yes From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 6:07 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? x and y are properties, not styles. A DateField pops up its DateChooser in a location relative to the DateField. Are you trying to make it pop up in some location you specify? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 1:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? You are right - I missed the Show Inherited Public Properties . Can this be determined if accessed via the DateField? I have been looking at dateChooserStyleName as below but this didn't work: ?xml version=1.0 encoding=utf-8? mx:ApolloApplication layout=absolute xmlns:mx=http://www.adobe.com/2006/mxml; . mx:Style .myDateChooser{x:200;y:200} /mx:Style mx:DateField dateChooserStyleName=myDateChooser/ /mx:ApolloApplication Linc From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, 23 May 2007 12:35 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateChooser X and Y? In what sense do these appear to be missing? I see them in the Language Reference as inherited properties. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln Mitchell Sent: Tuesday, May 22, 2007 4:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateChooser X and Y? There appears to be no x and y attributes for this component but is it still possible to define exactly where the DateChooser will appear? Linc