Why bother extending it? Why not just build an MXML component consisting of a DateChooser and a "Today" button in a vbox? Then either create methods in your component that set values that the DateChooser binds to, or use "customComponentInstance.dateChooser.selectedDate" or something similar to access it? That's what I did when I wanted to add a "null this field" button to DateField.
-Josh On Wed, Jul 16, 2008 at 1:12 AM, duncan_coutts <[EMAIL PROTECTED]> wrote: > Hi there. I am required to build a extended version of the DateChooser > component in Flex 3. The main focus of this extended version of the > control is that it have a "Today" button placed underneath the > calender but still within the bounds of the date chooser component. My > efforts so far consist of adding a button inside a VBox using the > create children method. However, the button encroches the calander > space on the datechooser component. Does anyone have any idea how I > can do this? > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]