Re: Newera event processing
Posted in 1996
Topics: Data Types & Schema Design
> My understanding is that you can not set a delegate to an object. > > An example: > Lets say I want to have multiple windows / panels in my application. > I want to have a single object to trap and interpret key strokes and > mouse actions. How can I do this? I'm not familiar with the term "delegate" in an OO context. In NewEra, you cannot have a single object to trap/interpret key strokes or mouse actions for the entire application. The best NewEra has to offer is a KeyPress() event and a click() event for a limited number of visual objects. There is no mouseMove() event. > > How can I create an object in one window with a parent in another. > (Parent meaning an object assigned to be its delegate.) > > Does this make sense? I am trying to compare NE with NeXTstep. Are you refering to MDI or something comparable? If so...NewEra ixClass Library does not support MDI, but it might be accomplished with considerable effort. > There does not appear to be a class of objects outside of the > window hierarchy. There are many objects which fall outside the ixWindow hierarchy. In fact, all visual objects are derived from ixVisualObject which is only about 1/3 of the entire ixClass Library. However, most of these classes are geared for database support (data types and SQL). > > > -Mikey john d.