ah so what you are saying is because its not a UI component I have to declare the get and set methods myself? Do I have to override the IFocusManagerComponent class altogether?? thanks for the help
--- In flexcoders@yahoogroups.com, "rueter007" <[EMAIL PROTECTED]> wrote: > > I do not know what SimpleScheduleEntry extends but it is most likely > that it does not extend UIComponent. The example says that 'implements > IFocusManagerComponent' should be added to a UIComponent-derived > component to set focus. Otherwise, you will have to implement > drawFocus() and setFocus() yourself. > > - venkat > http://www.venkatj.com > > --- In flexcoders@yahoogroups.com, "Corey Smaller" <corey_smaller@> > wrote: > > > > i imported mx.managers.IFocusManagerComponent and implemented it > > like so: > > > > > > public class ColoredScheduleEntry extends SimpleScheduleEntry > implements > > IFocusManagerComponent > > { > > > > public var backgroundColor : int = 0xcccccc; > > > > > > override public function toString() : String > > { > > return "[object SimpleScheduleEntry id: " +id + " > > startDate:" +startDate + " endDate:" + endDate + "]"; > > } > > > > } > > > > > > > > Now, even though i implemented the component like the example tells > > you (and that should be it to make it focusable) > > I get 7 errors all related to the interface methods Getters and > > Setters in the IFocusManagerComponent (one example below) > > > > 1044: Interface method drawFocus in namespace > > mx.managers:IFocusManagerComponent not implemented by class > > flexlib.scheduling.scheduleClasses:ColoredScheduleEntry. > > > > > > anyone know why this is?? > > >