Try with a small test case and post it if it doesn't work.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of thomasakirk
Sent: Tuesday, May 20, 2008 1:31 PM
To: [email protected]
Subject: [flexcoders] Re: Can I move DateChooser that pops up from
DateField?



I don't see any reference to that property in any of the Flex
documentation. The DateField id is "ad" BTW.

I can do ad.x = -200, but it only moves the input box and the
DateChooser appears in the same place.

Here's a testing function for the open event:

public function alignCal():void{
   for (var i:int = 0; i < ad.numChildren; i++) {
      trace(ad.getChildAt(i).name);
      //trace(ad.dropdown.x); <--- this gets me a good old undefined
prop error
   }
}

Outputs:
HaloBorder19
Button20
TextInput22

I just don't see any object there I can reference.


--- In [email protected], "tjsone2002" <[EMAIL PROTECTED]> wrote:
>
> See the DateField.dropdown property, which returns a reference to the
> DateChooser control.
> 
> Tim
> 
> --- In [email protected], "thomasakirk" thomasakirk@ wrote:
> >
> > I want to keep popup calendar confined to small canvas of hotel
booking 
> > widget but can't figure out a reference to the DateChooser that is 
> > created from my DateField. Is this possible?
> > 
> > Just need to set the x and y really. Setting it for the DateField
just 
> > moves the input box...
> >
>


 

Reply via email to