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






Reply via email to