Aaron, I need to do this same thing. Were you successful? care to share any hints?
DK On 3/10/05, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > Just an idea > > add all the child controls in your base class using createchild > (during the initialize event say) rather than in mxml. > then that will leave you free to add controls to your extended > component using mxml. > > hope this helps. > > btw: this scheduling system your writing. can you give more details. > would it be for sale? etc. > > regards > bod(bhaq1972) > > > > > --- In flexcoders@yahoogroups.com, "adk365" <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I'm creating a scheduling system where users can drag events onto > a > > weekly calendar and resize the events for how long they want to > > spend doing the activity. > > > > The events may be of many different types with different > > data/display needs, and so I'm creating a base clase, called > > scheduleItem, to handle drag-and-drop, resizing, tracking what > time > > the event appears on the calendar, etc. I'm then extending that > > base class to display text and components specific to the type of > > event. (some may just have text, others may need combo boxes, > etc.). > > > > The problem I have is that I can't add components to my base class > > (like the drag bar, resizer dot, or text for displaying the time) > > while at the same time allowing the extending classes to add > > additional components based on their needs. > > > > Does anyone have any suggestions for getting around this? > > > > Thanks for your help! > > Aaron > > > > > > > Yahoo! Groups Links > > > > > > > > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/